Replacement X axis with Y axis
Show older comments
Hello Friends,
can i change x axis position with y axis? if i can do that, do i have to change my excel data? i want to show my datas like this.
Thank you
Answers (1)
Wayne King
on 21 Apr 2012
I don't want to download the software that site wants me to, but you can just plot the variables differently.
x = -pi/2:0.01:pi/2;
y = sin(x);
plot(y,x); ylabel('x-axis'); xlabel('y-axis');
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!