how to change the plot background?

4 ビュー (過去 30 日間)
gyeonggeun kim
gyeonggeun kim 2021 年 4 月 22 日
I want to show the background of the plot above like the plot below.
This is the code for each.

回答 (1 件)

Constantino Carlos Reyes-Aldasoro
Constantino Carlos Reyes-Aldasoro 2021 年 5 月 4 日
Most probably the first figure you are showing is and RGB (type "whos" and look for the dimensions it should be rows x columns x 3) and that is why it is not appearing with the colour map. The second image is just intensity based (rows x columns). If you check that then we can follow and display as you want.

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by