MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Colormap legend issues

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106872] Re: Colormap legend issues
  • From: dh <dh at metrohm.com>
  • Date: Mon, 25 Jan 2010 05:09:42 -0500 (EST)
  • References: <hj6qgc$8sm$1@smc.vnet.net>


MatrixPlot seems to use a funny scaling for colors as you can see from:

In the manual one finds:

and:

values over a wide range:"



Eric Gonzalez wrote:

> 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}]

> 

> 

> 




  • Prev by Date: Re: Scrolling text: Changing text color, etc.
  • Next by Date: Re: Re: The formula of Abraham Moivre
  • Previous by thread: Colormap legend issues
  • Next by thread: Pagination when transferring Mathematica docs to PDF