Plot 2D circle image with color bar

Good morning,
I have points with coordinates (x,y) in 2D cartesin system. The points cover a circler zone and each point have a value of temperature.
I would like to plot an image with temperature colorbar which means a filled colored circle and the color varies with temperature (see attached filecercle_colore.gif).
I appreciate your help.
Regards

回答(1 个)

Maybe you could adapt this:
or this:
After converting your points to polar coordinates using cart2pol.
I don't see an easy way to do what you want using inbuilt functions unless you build your own plotting function...

类别

在 帮助中心 和 File Exchange 中查找有关 Color and Styling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by