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

% 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)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Products

Release

R2014b

Asked:

on 15 Dec 2020

Commented:

on 15 Dec 2020

Community Treasure Hunt

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

Start Hunting!