thermal color Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » thermal color « Previous Next »

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

Francesca Rossi (francesca)
Member
Username: francesca

Post Number: 4
Registered: 12-2003
Posted on Thursday, February 12, 2004 - 05:05 am:   

HI! I am trying to solve the time evolution of a tissue heated by a laser. I'd like to show the temperature rise in time, using the movie command to see the plot a t different times as in a movie. The problem is that each plot has the same spectral color for mapping different temperatures. So if in the first plot max temperature is 60°C this is red, and if in the second plot max temperature is 100°C, this is red. Is not possible to rescale the colors for each plot? I am not sure to have well explained my problem, but I tried!
Thank you very much
Francesca Rossi
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 108
Registered: 06-2003
Posted on Thursday, February 12, 2004 - 01:41 pm:   

The default procedure in constructing a plot is to find the range of values occurring in the plot and distribute the colors across this range.

You can modify this process in two ways.

1) If you append the qualifier RANGE(Low,High) to the plot statement, then the colors and contours will be spread across the larger of the stated range and the observed range. That is, the stated range will be used unless the observed data exceeds that stated range, in which case the real range will be used, preserving all your data.


2) If you append the qualifier FIXED RANGE(Low,High) to the plot command, then the stated range will be used in all cases, even if this means losing data that exceeds the stated range.

The example "Samples | Time_Dependent | Heatflow | 3d_bricks_t.pde" uses a RANGE qualifier to do exactly what you want to do.
Top of pagePrevious messageNext messageBottom of page Link to this message

Francesca Rossi (francesca)
Member
Username: francesca

Post Number: 5
Registered: 12-2003
Posted on Friday, February 13, 2004 - 04:25 am:   

Thank you very much for your replay!
Francesca Rossi

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