| Author |
Comment/Response |
Mark Neal
|
12/07/05 02:25am
I am making a contour plot, and want a color scale to go with the contour plot.
I have made a workaround, but i'd like to know if there is an easier way (eg, an inbuilt funtion or add-in).
If not, can i easily pass the maximum and minimum plotted values to the scale to make it a little bit more automated?
My mockup:
Eg[x] = 4 - a^2 - b^2; Scale[x] = -4 + c;
EgPlot[x] = ContourPlot[
Eg[x], {a, -2, 2}, {b, -2, 2}, PlotPoints ->
100, Axes -> True, AxesLabel -> {"x", "y
"}, ImageSize -> 400]; ScalePlot[x] = ContourPlot[Scale[x], {c, -4,
4}, {d, 0, 1}, PlotPoints -> 100, Axes -> True,
AxesLabel -> {"Eg Value", "Colour Map"}, ImageSize -> 400,
AspectRatio -> .2]
Cheers,
Mark
URL: , |
|