[pstricks] Adding Legend To Plot

Rich Shepard rshepard at appl-ecosys.com
Wed Jun 16 16:05:39 CEST 2010


   I would like to add a legend to a figure produced using pst-plot (see
attached). The code I use to place the legend text is:

   \rput(6,13){Daily precipitation}
   \rput(6,11.5){Cumulative precipitation}
   \rput(6,10){3-day moving average}

yet the text appears centered rather than left-justified. I did not see in
TLGC2 how to adjust this.

   Next question is how to place a small blue box to the right of the top
line, and small black and red lines to the right of the next two lines.

   Pointers to examples or docs will be appreciated.

Rich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: precip.pdf
Type: application/pdf
Size: 8606 bytes
Desc: 
URL: <http://tug.org/pipermail/pstricks/attachments/20100616/745fad06/attachment.pdf>


More information about the PSTricks mailing list