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

Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well.
I wanted to thank you for this websites! Thanks for sharing. Great websites!

https://shareits.xyz

Oops! Looks like spam! Waiting for moderator approval
30-12-19, 7:51 p.m. sunny0106

Oops! Looks like spam! Waiting for moderator approval

Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well.
I wanted to thank you for this websites! Thanks for sharing. Great websites!

https://shareits.xyz

Oops! Looks like spam! Waiting for moderator approval
30-12-19, 7:52 p.m. sunny0106

Oops! Looks like spam! Waiting for moderator approval

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