0
how do I adjust the x y intercept?

Hi

Given this curve

https://i.imgur.com/b8ig3Hv.png

How do I make it so that it looks like

https://i.imgur.com/wnLy0w6.png

i.e. so that x and y intersect at x=y=0

also if the only x values that I want to see, are x=0, x=90, x=180

Thanks


Scilab 15-10-19, 11:49 p.m. bonads
0

Hello,

The first plot that you mentioned is already at x=y=0. Use xgrid() command to plot grids for better visualization. Also, note that the sin() accepts arguments in radians. If you want to give inputs in degrees say 0, 90, 180, use sind() function. See the code below.

clf()
t=0:1:360;
y=sind(t);
plot(t,y)

Rupak

01-01-20, 12:21 p.m. rupakrokade


Log-in to answer to this question.