Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

ShowLegend Text Visibility

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82453] ShowLegend Text Visibility
  • From: Frank Iannarilli <frankeye at cox.net>
  • Date: Sat, 20 Oct 2007 06:00:29 -0400 (EDT)

Hi All,

I've seen the recent posts regarding the getting of ShowLegend to work
under Mathematica 6.  I'm using 6.0.1 under WinXP.

Following what seems to work for everyone:

Needs["PlotLegends`"]
ShowLegend[Plot[x,{x,1,6}],{{{Blue,"xyz123"}},
LegendPosition->{0.8`,0.`}}]

produces NO visible legend text next to the blue box!!???

But wrapping the text string in a Style[], specifying a contrasting
color (against white) works fine...:

ShowLegend[Plot[x,{x,1,6}],{{{Blue,Style["xyz123",Black]}},
LegendPosition->{0.8`,0.`}}]

These evaluations were done with fresh kernel starts with nothing else
initialized or evaluated.

Hummm.



  • Prev by Date: Is there anyway to save Graphics Output from command line?
  • Next by Date: Mean and covariance matrix
  • Previous by thread: Re: Is there anyway to save Graphics Output from command line?
  • Next by thread: Mean and covariance matrix