Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*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 2003

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

Search the Archive

RE: Unknown option PlotLegend in Plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg44104] RE: [mg44096] Unknown option PlotLegend in Plot
  • From: "David Park" <djmp at earthlink.net>
  • Date: Thu, 23 Oct 2003 07:14:45 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I didn't get that problem.

Are you certain you actually evaluated the

<<Graphics`Legend`

statement first? It has to be more than just in the notebook. It has to be
evaluated, and evaluated before the Plot statement is evaluated. If not,
then you will get the error message.

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

From: yawnmoth [mailto:terra1024 at yahoo.com]
To: mathgroup at smc.vnet.net

entering the following commands into mathematica, as per the example,
result in an error for me...

<<Graphics`Legend`

Plot[{Sin[
  theta], Cos[theta]}, {theta, 0, 2 Pi}, PlotStyle -> {RGBColor[1, 0,
    0], RGBColor[0, 0, 1]}, PlotLegend -> {"Sin", "Cos"}]

here's the error:

Plot::optix : Unknown option PlotLegend in Plot

any ideas as to what's wrong, and how i may fix it?  thanks!


  • Prev by Date: NIntegrate and Delayed Functions
  • Next by Date: Why is this replacement not performed the first time?
  • Previous by thread: Re: Unknown option PlotLegend in Plot
  • Next by thread: Full error messages?