Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

RE: LegendPosition Problem

  • To: mathgroup at
  • Subject: [mg68849] RE: [mg68831] LegendPosition Problem
  • From: "David Annetts" <davidannetts at>
  • Date: Mon, 21 Aug 2006 03:28:00 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Hi Paul,

> 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?

As far as I can tell, nothing.  The example code works fine & changing
various Legend parameters has the correct effect (eg. Changing 1.1 -> -1.1
shifts the legend from right to left)

Have you tried a reinstallation?



  • Prev by Date: Re: solve differential equation problem
  • Next by Date: Re: differential equation solve
  • Previous by thread: LegendPosition Problem
  • Next by thread: RE: LegendPosition Problem