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
2021 年 2 月 26 日
It is not clear why you do not just
set(gca, 'YDir', 'reverse')
??
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Scatter Plots についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!