Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Problem using PlotLegend



Hi,

I'm fairly new to Mathematica (3.0) and encountered the following
problem:

In[64]:=
Needs["Graphics`Legend`"];

In[65]:=
$Packages

Out[65]=
{"Graphics`Legend`","Utilities`FilterOptions`",
  "Graphics`Common`GraphicsCommon`","Global`","System`"}

In[66]:=
aufg34=Plot[{x1[t],x2[t],x3[t],x4[t],x5[t]},{t,tmin,tmax},
    PlotRange->{xlow,xhigh},
    PlotStyle->{GrayLevel[0],Dashing[{0.02,0.02}],
        Dashing[{0.002,0.02,0.02,0.02}],
       
Dashing[{0.002,0.02,0.002,0.02,0.02,0.02}],Dashing[{0.002,0.02}]},
    PlotLegend->{"a=-2","a=-1","a=0","a=1","a=2"}]; Plot::"optx": 
    "Unknown option \!\(PlotLegend\) in \!\(Plot[\(\({\(x1[t]\),
\(x2[t]\), \ \(x3[t]\), \(x4[t]\), \(x5[t]\)}\), \(\\[LeftSkeleton] 3
\\[RightSkeleton]\), \ \(PlotLegend \\[Rule] \(\\[LeftSkeleton] 1
\\[RightSkeleton]\)\)\)]\)."

As you can see, I tried to load `Legend', and line 65 shows that it
worked. But the option `PlotLegend' is not recognized in line 66, why?

Any help or hints would be appreciated.

Thanks
Nils



  • Prev by Date: how to print in the same screen place?
  • Next by Date: Re: plot coloring
  • Prev by thread: how to print in the same screen place?
  • Next by thread: Problem using PlotLegend