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!