How can I flip scatterplot on its y axis AND flip whtiespace too?

Hi there I have some tracking data that I have plotted on a scatter plot (top photo) but I would like to flip it on its y axis. I have tried this with the following command:
y_values = min(y_values(:))+ max(y_values(:))-y_values (shown in the bottom photo) however this does not als0 flip the white spaces belpw the points in the original image. Any suggestion on how I can achieve this?
Thanks

1 件のコメント

Walter Roberson
Walter Roberson 2021 年 2 月 26 日
It is not clear why you do not just
set(gca, 'YDir', 'reverse')
??

サインインしてコメントする。

回答 (0 件)

カテゴリ

製品

質問済み:

2021 年 2 月 26 日

コメント済み:

2021 年 2 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by