Changing limits of a figure color bar using the property inspector does not change the figure colors correspondingly.

10 次查看(过去 30 天)
I am running Matlab 2020a on OS 10.15.3.
My issue is that when I modify the limits of a figure color bar using the property inspector, the colors in the figure itself do not change correspondingly (while the color bar lmits do change).

采纳的回答

Sindhu Karri
Sindhu Karri 2020-3-27
According to my understanding you are trying to change the color of the plot.
This can be done by using property inspector-> color and transperancy maps-> color map

更多回答(1 个)

Aleksander Kipiela
Aleksander Kipiela 2024-4-16
You can do it through Colormap editor. In edit plot mode right click on color bar and go to Colormap editor -> Set colormap limits. Changing the limit there changes the range both on the colorbar and the plot.

类别

Help CenterFile Exchange 中查找有关 Bar Plots 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by