colormap plot adjust colors
显示 更早的评论
I would like to have a colorbar next to my plot, which runs from green, yellow via orange to red. How can I adjust these colors? I added a figure of an example.
1 个评论
Adam
2019-3-18
You can use
doc colormapeditor
to do this visually, or create your own colourmap programatically with the key points for green, yellow, orange and red and interpolate between them to produce a colourmap of the desired size.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Color and Styling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!