フィルターのクリア

How to reverse axis in image

2 ビュー (過去 30 日間)
bouchra turki
bouchra turki 2023 年 5 月 23 日
コメント済み: Walter Roberson 2023 年 5 月 23 日
Hello
I want to reverse my image horizantally to see the propagation in the x-axis ( like in the figure 2 P_energy), I used Flip function but it didn't work in this case.
Any suggestion please.
Thank you in advance.

回答 (1 件)

Walter Roberson
Walter Roberson 2023 年 5 月 23 日
transpose if you have intensity data; permute if you have RGB data.
  2 件のコメント
bouchra turki
bouchra turki 2023 年 5 月 23 日
Thank you so much, It worked well.
Also , I want to change the background of the image in white to have a lighter image, Is it possible?
Thanks
Walter Roberson
Walter Roberson 2023 年 5 月 23 日
You can set the figure property 'Color' -- though I would suggest that instead you create a uipanel within the figure, and make the uipanel the parent of the axes, and set the uipanel Color property . This will have the effect of changing the color only inside the uipanel instead of the entire figure.

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

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by