Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: Color Step Size in contourf
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Borna

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]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.