View previous topic :: View next topic |
Author |
Message |
thorthebrave
Joined: 09 Nov 2009 Posts: 9
|
Posted: Wed Dec 23, 2009 5:28 pm Post subject: controlling color gradient of surface plot |
|
|
how do you lock the color use in a surface plot. I found the ContourCustomColors and CustomLevels. Are these what you use for that.
Do you have some examples of these being used.
The problem I am having is when making movies, I need the scale to stay constant for each plot, such that you get a nice smooth change in each time step. I tried with ManualScale(xlo,ylo,xhi,yhi,zlo,zhi), but that does not keep the color gradient bar constant.
Merry xmas
god jul -(norwegian)
Tom |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Wed Dec 23, 2009 6:59 pm Post subject: |
|
|
ContourCustomColors and either ContourCustomLevels with [ContourColorScheme(2)] or ContourLevels is certainly one way to do it, but custom levels/colors should not be necessary if you know beforehand what the maximum and minimum Z values will be. If you do, just use ContourLevels with the same parameters for each plot.
If you do not know the max/min Z values before creating your plots... well, you're pretty much at DPlot's mercy for determining the contour intervals, and I really don't see any other way to handle this.
And, thanks much. Merry Christmas to you, as well. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|