[Tioga-users] Help with legend placement on scatter plot

David MacMahon davidm at astro.berkeley.edu
Tue May 6 15:14:21 EDT 2008


I'm having a hard time getting a legend to work well with a scatter  
(i.e. marker) plot.  I've attached a short script showing what I'm  
doing and the pdf file that results.  The script only works with a  
recent SVN version of Tioga (i.e. won't work with Tioga 1.8).  It  
works OK except for the placement of the legend.

My scatter plots (but not the sample script) have many markers of  
different colors and sizes.  I can put a color bar beside the plot to  
show the meaning of the colors, but I'd also like to show a few  
"representative" markers of various sizes in the legend with  
associated their values as text so the viewer can get some idea of  
what the different sizes mean.

If anyone can give me a pointer or two, I'd appreciate it!

Thanks,
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: marker_legend.pdf
Type: application/pdf
Size: 8272 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/tioga-users/attachments/20080506/03cd3350/attachment.pdf>
-------------- next part --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: marker_legend.rb
Type: text/x-ruby-script
Size: 1102 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/tioga-users/attachments/20080506/03cd3350/attachment.bin>


More information about the Tioga-users mailing list