Replacement X axis with Y axis

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

답변 (1개)

Wayne King
Wayne King 2012년 4월 21일

0 개 추천

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');

카테고리

질문:

2012년 4월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by