[pstricks] Adding Legend To Plot

Rich Shepard rshepard at appl-ecosys.com
Wed Jun 16 17:31:40 CEST 2010


On Wed, 16 Jun 2010, Juergen Gilg wrote:

> try out this:
>
> \rput[l](6,13){Daily precipitation}
> \rput[l](6,11.5){Cumulative precipitation}
> \rput[l](6,10){3-day moving average}
>
> this should adjust the lines to the left.

Juergen,

   Of course! I should have reviewed the \rput syntax before writing.

> Another way for multiline-text is to add a \parbox within the \rput command 
> like:
>
> \rput[l](6,13){\parbox{10cm}{%
> Blabla\\
> Blabla}
> }
>
> Whitin the \parbox you can format like in the usual text, e. g. inline 
> formulae, tabulars etc.

   This, too, should have occurred to me.

   I suppose that using \hbox will let me add the graphics to the legend.

Thanks very much,

Rich


More information about the PSTricks mailing list