MathGroup Archive 2006

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

Search the Archive

RE: LegendPosition Problem


Paul,

When I run that in Version 5.2 on my Windows98 system it works correctly.
The legend is to the right and middle of the density plot.

You should probably check with WRI support.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: Paul Townley-Smith [mailto:ptownleysmith at zygo.com]
To: mathgroup at smc.vnet.net


Dear All,

I'm running 5.2 and trying to position a legend.  No matter what coordinates
I give, the legend is always in the bottom left...what am I doing wrong.
The following sample code below puts the legend in the lower left on my
machine, even though this is supposed to be an example where the legend is
in the in middle right.
ShowLegend[
DensityPlot[Sin[x y], {x, 0, Pi}, {y, 0, Pi}, Mesh -> False,
PlotPoints -> 30, DisplayFunction -> Identity], {GrayLevel[1 - #] &, 10,
" 1", "-1", LegendPosition -> {1.1, -.4}}]

What could I be missing?



Thanks in advance for your help.



Paul



  • Prev by Date: Re: solve differential equation problem
  • Next by Date: "Freezing" evaluation Output?
  • Previous by thread: RE: LegendPosition Problem
  • Next by thread: Re: LegendPosition Problem