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

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!

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

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

Login to add comment