Plot a function on specified region

tush shared this question 2 years ago
Answered

I have the function

y= sin (x)

which is nicely plotted on the canvas for all values of x.

I want GeoGebra to plot it on a specific region, for example 1<x<2.

I came across the function SetVisibleInView but I don't understand the arguments it accepts, as I am not even sure whether this is the command I am looking for.

Comments (1)

photo
1

setvisible() is for on/off visibility

type sin(x),1<=x<=2

or if(1<x<pi,sin(x),pi<=x<4,-(x-5)^2) for more opcions

© 2023 International GeoGebra Institute