Re: Re: MatrixPlot with color range bar
- To: mathgroup at smc.vnet.net
- Subject: [mg99043] Re: Re: MatrixPlot with color range bar
- From: ìëì <lee.deokjae at gmail.com>
- Date: Fri, 24 Apr 2009 06:14:56 -0400 (EDT)
Thank you for the answer. But ShowLegend doesn't work with MatrixPlot. I'd like to plot some numerical data not a function. So, I need MatrixPlot not DensityPlot. > 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 =EC=9D=B4=EB=8D=95=EC=9E=AC 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= ? > >