bastula / dicompyler

Extensible radiation therapy research platform and viewer for DICOM and DICOM RT
http://www.dicompyler.com
264 stars 99 forks source link

Move legend in DVH to more appropriate position #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the DVH legend blocks plot lines in the top right hand corner. 
Ideally the legend should be moved so it does not block any of the plot. This 
probably can be found by investigating the matplotlib library documentation 
found at http://matplotlib.org

Another option is to disable the legend completely and use the structure 
selector on the left as a legend.

Original issue reported on code.google.com by bastula on 3 Oct 2012 at 3:30

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26110179-move-legend-in-dvh-to-more-appropriate-position?utm_campaign=plugin&utm_content=tracker%2F18109348&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F18109348&utm_medium=issues&utm_source=github).
roycoding commented 9 years ago

This may require a newer version of matplotlib, but it is definitely possible to move the legend outside the plot box: http://matplotlib.org/users/legend_guide.html#legend-location