How do I restrict the range for a vertical line

bwpbruce shared this question 4 years ago
Answered

I'm trying to create a sign diagram using geogebra. Here's what I have so far:63f90279b8bb5636697675624dea24ad

How do I restrict the vertical lines to only display when y is greater than or equal to zero?

Best Answer
photo

use Ray()

Example: Ray((3, 0), (3, -1))

Comments (4)

photo
1

The easiest way is by creating a segment, since a vertical line is not a function.

Or you can write the segment in parametric form, using the Curve command.

Say you want a segment from (x0, y0) to (x0, y1): then


Curve[x0, t, t, y0, y1]

photo
4

On peut aussi utiliser l'outil demi-droite .

photo
1

---

photo
2

use Ray()

Example: Ray((3, 0), (3, -1))

© 2023 International GeoGebra Institute