Re: bug in PlotLegend?
- To: mathgroup at smc.vnet.net
- Subject: [mg63643] Re: [mg63623] bug in PlotLegend?
- From: gardyloo <gardyloo at mail.wsu.edu>
- Date: Sun, 8 Jan 2006 03:33:09 -0500 (EST)
- References: <200601070959.EAA16692@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
NW,
It seems to work for me (I had to define s={x->Sin, y->Cos} first). I
get only the two lines, for "x" and "y". This is on both 5.2 on linux,
and 5.1 on Windows. What version of Mathematica are you using? I don't
see any problem in your code, unless "s" is defined in some strange way.
Best,
Curtis O.
NatHwylc wrote:
>If I try PlotLegend in a very simple situation
>
>Plot[Evaluate[{x[t], y[t]} /. s], {t, 0, 100}, PlotStyle -> {Red,
>Green},
> PlotLegend -> {"x", "y"}]
>
>I get a wrong result (i.e. a legend which contains three lines:x,y,x
>instead of only x,y).
>
>Is this a bug or am I making a mistake somewhere?
>
>thanks
>
>nw
>
>
>
>
- References:
- bug in PlotLegend?
- From: "NatHwylc" <NatHwylc@gmail.com>
- bug in PlotLegend?