Flip an Array Over 45 degree Axis

조회 수: 13 (최근 30일)
Dan Kenney
Dan Kenney 2014년 7월 11일
답변: Image Analyst 2014년 7월 12일
I need to flip this plot(only the blue line) over a 45 degree axis so that the part of the parabola touching the x axis will be then plotted on the y axis, and the parabola edge touching the y axis will be on the x axis. I have no idea what is going wrong I have been trying everything from rotating to flipping to plotting y vs x instead. Any suggestions would be greatly appreciated.

답변 (1개)

Image Analyst
Image Analyst 2014년 7월 12일
How about instead of
plot(x,y);
do
plot(y, x);

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by