Can I change the color bar (or spectr... Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Can I change the color bar (or spectrum) of the contour plot? « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

nagarajan
New member
Username: nagarajan

Post Number: 1
Registered: 05-2010
Posted on Monday, May 24, 2010 - 02:59 pm:   

Hi,
I am plotting an contour painted plot of the temperature distribution. The default color for min temp is pink. Can I change the default color to say blue? If not what are my options?
Thanks for your help.
Nagarajan
Top of pagePrevious messageNext messageBottom of page Link to this message

mgnelson
Moderator
Username: mgnelson

Post Number: 191
Registered: 07-2007
Posted on Monday, May 24, 2010 - 04:27 pm:   

You can modify the color spectrum in the SELECT section by using SPECTRAL_COLORS or THERMAL_COLORS. The default is thermal colors.

See the Help section "Problem Descriptor Reference : The Sections of a Descriptor : Select : Global Graphics Controls".
Top of pagePrevious messageNext messageBottom of page Link to this message

nagarajan
New member
Username: nagarajan

Post Number: 2
Registered: 05-2010
Posted on Monday, May 24, 2010 - 04:36 pm:   

Thanks for your quick reply.
SPECTRAL_COLORS just reverses the color plot. But I want the cooler areas to be blue and the hotter areas to be red - for marketing purposes. How do I do that?
Top of pagePrevious messageNext messageBottom of page Link to this message

mgnelson
Moderator
Username: mgnelson

Post Number: 192
Registered: 07-2007
Posted on Monday, May 24, 2010 - 05:59 pm:   

What you describe is the thermal color spectrum - the default. See attached PNG. You cannot manually choose color levels. You have the choices of thermal or spectral as mentioned.

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration