Colormap legend issues
- To: mathgroup at smc.vnet.net
- Subject: [mg106648] Colormap legend issues
- From: "Eric Gonzalez" <cire.glez at gmail.com>
- Date: Wed, 20 Jan 2010 06:47:32 -0500 (EST)
I still have some problems. I am doing a MatrixPlot with values between 0.6
to 180.0 ( ColorFunction ->
"TemperatureMap"], {ColorData["TemperatureMap"][#1] &, 10,
ToString[Min[mydata]], ToString[Max[mydata]], ) the 0.6 points does not
show blue in the plot so I don't think there is a correspondence between the
legend color map and and the chart. Also how to set several points in the
legend rather than the max and min?
thnk you for your help,
Eric
ShowLegend[
MatrixPlot[mydata, AspectRatio -> 1, Mesh -> All,
PlotRange -> All,
ColorFunction ->
"TemperatureMap"], {ColorData["TemperatureMap"][#1] &, 10,
ToString[Min[mydata]], ToString[Max[mydata]],
LegendPosition -> {1.1, -0.8}, LegendSize -> 1.5,
LegendShadow -> None}]