The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Color Step Size in contourf
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 3
Registered: 9/2/12
Color Step Size in contourf
Posted: Nov 23, 2012 7:01 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi guys,
I have a matrix A of 100 by 800 which has a minimum of min= 10.2 and a maximum of max=3.0987e+004.
I want to plot the contourf of this matrix but I want to control the colors to have 11 colors with the below step sizes:
max to (0.7)^1*max
1. (0.5)^1*max to (0.5)^2*max
2. (0.5)^2*max to (0.5)^3*max
10. (0.5)^9*max to (0.5)^10*max
11. (0.5)^10*max to min

Could you please help me?
Thanks a lot

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.