dr-geo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dr. Geo] How do I indicate function values? (DrGeo DSL)


From: H. Hirzel
Subject: [Dr. Geo] How do I indicate function values? (DrGeo DSL)
Date: Thu, 28 Dec 2023 12:09:43 +0000

Hi Hilaire

I have the following code

| sketch f     |
sketch := DrGeoSketch new axesOn gridOn.
f := [ :x | 0.2 * x * x - 1].
sketch plot: f from: -6 to: 6.

If I execute it I get two points without names.
One on the x-axis and one on the graph.

The point on the x-axis may be dragged to the right and the point on the graph follows.
How make the y-value of the point on the diagram appear?

Regards
Hannes

Attachment: quadratic_function.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]