MathGroup Archive 2007

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

Search the Archive

Using legend with FilledPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74393] Using legend with FilledPlot
  • From: Michelasso <qzerty at gmail.com>
  • Date: Mon, 19 Mar 2007 22:05:50 -0500 (EST)

Ok, I have tried to answer to myself to the previous questions I made,
and I have almost managed to get what I want, except for one thing: I
cannot put legend into grpahics I draw with FilledPlot funtion.
For example this works:

Plot[{Sin[x], Cos[x]}, {x, -3, 3}, PlotStyle -> {Hue[0.4], Hue[0.6]},
  PlotLegend -> {"a", "b"}, LegendTextSpace -> 10,
  LegendShadow -> None, LegendPosition -> {0.2, -0.3},
  LegendSize -> {0.9, 0.2}]

but if I replace Plot with FilledPlot I don't have anymore a legend.
Is there any way to obtain a legend with FilledPlot?


  • Prev by Date: Re: How to choose real positive solutions only?
  • Next by Date: Re: Help to use colors with graphics in Mathematica
  • Previous by thread: Re: Slots & Ampersands
  • Next by thread: RE: Using legend with FilledPlot