how to create plot of inverse data?

조회 수: 36 (최근 30일)
uncung fgv
uncung fgv 2012년 3월 27일
I want to create figure of inverse data.
i already created plot. on Editor Plot, there is Inverse menu. when i click my plot turn to inverse but the axis remains same.
now i want to create inverse plot from matlab command.
i have
X= bla bla bla bla
Y= bla bla bla
i do inversion.
how to create plot?
  댓글 수: 3
Image Analyst
Image Analyst 2012년 3월 28일
I didn't find the "inverse menu" on the plot figure's toolbar or pulldown menu. Is it under the File, Edit, View, Insert, Tools, Desktop, Window, or Help menu?
uncung fgv
uncung fgv 2012년 3월 28일
it is on Editor Plot (right click of mouse). but i am interesting to do it in Command.

댓글을 달려면 로그인하십시오.

채택된 답변

Andrei Bobrov
Andrei Bobrov 2012년 3월 28일
so? pg
set(gca,'XDir','reverse')
  댓글 수: 1
uncung fgv
uncung fgv 2012년 3월 28일
simply you just displying the plot into reverse, but not change the axis.
actually now i try to use this
flipud(X)
it is same with inverse but perform new axis/different.
while if we inverse our plot then copy it, the the paste will back to our previous non inverse.
but not this FLIPUD (X)

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

C.J. Harris
C.J. Harris 2012년 3월 28일
Is it the y-axis you want to reverse?
If so:
axis ij

uncung fgv
uncung fgv 2012년 3월 28일
i want copy the result of plot inverse to my old plot. but when i copy the inverse back to the non inverse (same as previously).

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by