How to rotate or mirror the contents in the figure with axes?

1 ビュー (過去 30 日間)
Salad Box
Salad Box 2022 年 10 月 5 日
回答済み: Benjamin Thompson 2022 年 10 月 5 日
Hi,
I generated a plot(?) with axes on (see below) but it doesn't look quite right.
The above plot maybe classed as gca?
Without going through the process of saving it as RGB image file, then read the RGB file back in, then doing the rotating or flipping on the image file, is it possible to do rotating or fliping on the above plot (or 'gca') directly so the number should look like something below?

回答 (1 件)

Benjamin Thompson
Benjamin Thompson 2022 年 10 月 5 日
Can you re-plot with new y values, y = 500 - y? Basically reverse the order of the y values before plotting.

Community Treasure Hunt

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

Start Hunting!

Translated by