MathGroup Archive 2009

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

Search the Archive

Re: Legends in GraphicsGrid

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97089] Re: [mg97046] Legends in GraphicsGrid
  • From: peter <plindsay.0 at gmail.com>
  • Date: Thu, 5 Mar 2009 04:53:21 -0500 (EST)
  • References: <200903041208.HAA27004@smc.vnet.net>

you need to get David Park's Presentations package:
http://home.comcast.net/~djmpark/DrawGraphicsPage.html
see some examples at:
http://blackbook.mcs.st-and.ac.uk/~Peter/djmpark/html/

Peter

2009/3/4 M.Roellig <markus.roellig at googlemail.com>

> Hello Group,
>
> I am again struggling with inserting legends into plots.I need to
> automate the plotting of many GraphicsGrids with some automated legend
> control. Usually I use a customized approach via Epilog/Inset but I
> need to use LogLogPlots and positioning and scaling within them is not
> very straight forward to me.
>
> Using the built in PlotLegends Package I somewhat loose control over
> my plots. The legend package introduces some invisible plot margins I
> cannot get rid of:
>
> Compare:
>
> (*with legends*)
> GraphicsGrid[
>  Partition[
>  Table[Plot[i, {x, 0, 100}, ImageSize -> 200, PlotLegend -> {"1"},
>    LegendShadow -> False, LegendPosition -> {0, 0},
>    LegendSize -> 0.5, ImageMargins -> None, ImagePadding -> 0], {i,
>    1, 4}], 2], Spacings -> 0., Frame -> All]
> (* without legends *)
> GraphicsGrid[
>  Partition[
>  Table[Plot[i, {x, 0, 100}, ImageSize -> 200, ImageMargins -> None,
>    ImagePadding -> 0], {i, 1, 4}], 2], Spacings -> 0., Frame -> All]
>
> Is there a way to keep the legend fully wihtin the plot without adding
> some invisible wasted space?
>
> I appreciate any hints,
>
> Markus
>
>
>
>
>
>
>
>


-- 
Peter Lindsay



  • Prev by Date: Re: Problems in writing into a sequential filename
  • Next by Date: Re: GraphComplement doesn't work in 7.0
  • Previous by thread: Legends in GraphicsGrid
  • Next by thread: Re: Legends in GraphicsGrid