2D plote when x axis and y axis intersect at origin

4 次查看(过去 30 天)
% I want to plote this graph when only x axis and y axis cross at origin. I don't need boox type plote.
x = [-1/pi:0.0001:1/pi];
y = (x/2).*(sin(1./x));
plot(x,y)

回答(1 个)

Hiro Yoshino
Hiro Yoshino 2020-12-15

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

产品


版本

R2014b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by