MathGroup Archive 2010

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

Search the Archive

why an extra mark in legend?

  • To: mathgroup at
  • Subject: [mg106240] why an extra mark in legend?
  • From: Haibo Min <haibo.min at>
  • Date: Wed, 6 Jan 2010 05:57:51 -0500 (EST)

Hello, everyone.

Suppose that I have attained a[t], b[t], c[t] in NDSolve.


Then, I use

Plot[{a[t], b[t], c[t]} /. s // Evaluate, {t, 0, 20},  PlotRange -> {{0,
20}, {-2, 1}}, Frame -> True, Axes -> True,  FrameLabel -> {"Time(s)",
 PlotStyle -> {{Red, Dashed, Thick}, {Blue, Thick}, {Black, Dotted, Thick}},
PlotLegend -> {"a", "b", "c"},  LegendPosition -> {0.5, -0.3}, LegendSize ->
{0.2, 0.3},
 LegendShadow -> None]

to plot. It was supposed to have three marks in the legend, but I got four,
where one of the marks had no text. Why?



  • Prev by Date: FullForm puzzle.
  • Next by Date: Storing lists on SQL
  • Previous by thread: Re: FullForm puzzle.
  • Next by thread: Re: why an extra mark in legend?