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!