Re: MatrixPlot with color range bar
- To: mathgroup at smc.vnet.net
- Subject: [mg99041] Re: MatrixPlot with color range bar
- From: dh <dh at metrohm.com>
- Date: Fri, 24 Apr 2009 06:14:34 -0400 (EDT)
- References: <gsrqml$r4n$1@smc.vnet.net>
Hi,
you need e.g. ShowLegend. Look it up in the manual.
Here is an example from the manual:
============================
Needs["PlotLegends`"]
ShowLegend[
DensityPlot[Sin[x y], {x, 0, \[Pi]}, {y, 0, \[Pi]}, Mesh -> False,
PlotPoints -> 30], {ColorData["LakeColors"][1 - #1] &, 10, " 1",
"-1", LegendPosition -> {1.1, -.4}}]
=======================================
Daniel
ì?´ë??ì?¬ wrote:
> I'd like to draw plots like
> http://www.gle-graphics.org/examples/3dplots/informationgain.png
> I know that MatrixPlot function draws such plots.
> My question is how to draw color range bar like that on the right side of
> the plot at the url.
> Is there any options of MatrixPlot or tricks to draw such color range bar ?
>