How to use transpose in my graph?
조회 수: 26 (최근 30일)
이전 댓글 표시
My y-axis is in opposite direction, from 6000 to 0 insted of 0 to 6000.
imagesc(x,y,C) % this is my plot
I have tried
a) imagesc(x,y.',C) % but it did not work.
b) imagesc(x,y',C) % but it did not work.
c) imagesc(x,(flipud(y)),C) % but it did not work.
d) imagesc(x,(fliplr(y)),C) % but it did not work.
Please i need help. Thanks
댓글 수: 0
채택된 답변
Bruno Luong
2019년 8월 16일
편집: Bruno Luong
2019년 8월 16일
Put this after imagesc command
set(gca,'Ydir','normal')
or
imagesc(x,y,flipud(C) )
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!