Re: Hi, a simple question, thanks
- To: mathgroup at smc.vnet.net
- Subject: [mg59958] Re: [mg59905] Hi, a simple question, thanks
- From: ggroup at sarj.ca
- Date: Fri, 26 Aug 2005 04:53:57 -0400 (EDT)
- References: <200508251033.GAA10086@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
You'll need to specify the size and location of the legend. Typically you
need to tweak the settings a fair bit for every plot. The following is an
example:
====================
data=Table[{i+Random[],i^2},{i,20}];
data2=Table[{i-Random[],i^2},{i,20}];
<<Graphics`MultipleListPlot`
<<Graphics`Graphics`
MultipleListPlot[
data, data2,
PlotRange -> All,
SymbolShape -> None,
PlotJoined -> True,
PlotLegend -> {"data", "data2"},
LegendPosition -> {-0.57, 0.325},
LegendSize -> {0.5, 0.175},
LegendSpacing -> 0,
LegendTextSpace -> 1,
LegendBorderSpace -> 0,
LegendShadow -> {0, 0},
PlotStyle -> {{Hue[0.7]}, {Hue[0.5]}},
Axes -> False,
Frame -> True];
====================
On Thu, 25 Aug 2005 06:33:38 -0400 (EDT), sjsongjing wrote
> Hi,
> I want to label every curve with ListPlot or MultipleListPLot, but by
> using PlotLabel -> StyleForm[TraditionalForm["b971"],...] it can only
> put the label in oneline in the middle. But I need it label every
> curve, something as done by gnuplot.
>
> Thanks for reply.
>
> Jing
- References:
- Hi, a simple question, thanks
- From: sjsongjing@gmail.com
- Hi, a simple question, thanks