FakeColor

Function to make a contour/pcolor-like plot with multiple colormaps on same figure.
235 Downloads
Updated 17 Sep 2013

View License

A work-around to get multiple colormaps on same figure. Creates a 'fake' colormap using patches. Work in progress; please let me know of any issues or suggestions.

Cite As

Andy Pickering (2024). FakeColor (https://www.mathworks.com/matlabcentral/fileexchange/42308-fakecolor), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Contour Plots in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Thanks to Marcel Thielmann:
-added support for any colorbar location and changed the colorbar location identifier so that it complies with MATLAB standards
-added the possibility to provide an own colormap as input

1.0.0.0