one colorbar with relative and absolute values

6 views (last 30 days)
How can I make a colorbar witch shows the absolute values on the right side and the relative values on the left side on the same colorbar? I have the x coordinates as VarName1, the y coordinates as VarName2 and the absolute values in VarName3 or Z = VarName3/mean(VarName3)*100 for the relative values.
  1 Comment
Walter Roberson
Walter Roberson on 7 Oct 2015
Which MATLAB version are you using? In particular, this could be done for R2014a or earlier but after that becomes more difficult as colorbar has a different implementation from R2014b onwards.

Sign in to comment.

Answers (0)

Categories

Find more on Colormaps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!