Apply separate color maps on same plot.

Hello, I am trying to apply 2 color maps on the same plot. I have found that the following command applies two evenly distributed color maps over the total range of all the plotted figures.
{colormap([jet(64); jet(64)]);}
Problem is, my figures ranges are are not evenly distributed , nor do they cover the whole value range. The first figure has value from 1-9, the second varies from 250-300. I somehow need to skew the two evenly distributed colors bars so they range from 0-9 and from 250-300.
Please help!

Réponses (0)

Cette question est clôturée.

Produits

Question posée :

le 1 Fév 2015

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by