Shaped colorplot
Function to represent 2D or 3D objects filled with the appropriate colormap according to an additionally provided set of values.
Fill the lack of MatLab functions to provide contour plots of 2D and 3D shaped objects.
Inputs: figure handle ([] if unknown), plot dimensions (2 or 3), vectors x, y, z ([] if 2D), vector of property values used to create the colormap.
Outputs: shaped colorplot with legend, eventually figure handle and matrix containing colormap.
Warnings: 1) The colormap contains 14 levels for reading clarity
2) The graph creation can take some time for large matrices
Cite As
Fanny Besem (2024). Shaped colorplot (https://www.mathworks.com/matlabcentral/fileexchange/32415-shaped-colorplot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Contour Plots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.