MathGroup Archive 2008

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

Search the Archive

Re: PlotLegend not working properly in my Mathematica 6

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88641] Re: [mg88625] PlotLegend not working properly in my Mathematica 6
  • From: Syd Geraghty <sydgeraghty at mac.com>
  • Date: Sun, 11 May 2008 15:13:23 -0400 (EDT)
  • References: <200805101052.GAA11812@smc.vnet.net>

Hi,

You have not evaluated the statement

Needs["PlotLegends`"]

before evaluating

ListPlot[Table[{x, f[x]}, {f, {Sin, Cos, Log}}, {x, 0, 10, 0.5}],
  PlotLegend -> {"Sine", "Cosine", "Log"}, LegendPosition -> {1.1,  
-0.4},
  Joined -> {True, True, False}, PlotMarkers -> Automatic]


So the required functions are not yet available. Start a new session  
of Mathematica, load the package and then you will get the expected result.

HTH,

Cheers ... Syd

Syd Geraghty B.Sc, M.Sc.

sydgeraghty at mac.com

My System

Mathematica 6.0.2.1 for Mac OS X x86 (64 - bit) (March 13, 2008)
MacOS X V 10.5.2
MacBook Pro 2.33 Ghz Intel Core 2 Duo  2GB RAM






On May 10, 2008, at 3:52 AM, PPY wrote:

> The PlotLegend option is not working in my Mathematica 6.0. I can't  
> even run the codes provided in the Document center. I got similar  
> errors when running my own codes.
>
> Please take a look at the attached screenshot and help me. Thanks!
>
> http://yangli.public.iastate.edu/PlotLegend.pdf
>



  • Prev by Date: Re: Bug in Plot?
  • Next by Date: Inputs to Functions - Can they be FORCED to be a predefined type?
  • Previous by thread: PlotLegend not working properly in my Mathematica 6
  • Next by thread: Re: PlotLegend not working properly in my Mathematica 6