Re: [Matplotlib-users] A separate legend box for the markers only?

2014-09-12 Thread Sterling Smith
I have version 1.3.1. I had to modify the example to be: {{{ import matplotlib.lines as mlines import matplotlib.pyplot as plt import matplotlib print matplotlib.__version__ blue_line = mlines.Line2D([], [], color='blue', marker='*', markersize=15, label='Blue stars') pl

[Matplotlib-users] Complex legend layout

2014-09-12 Thread Antony Lee
Hi, I have a plot with 9 lines, representing datasets with two varying parameters, say f_11, f_12, f_13, ..., f_33. To make the plot (a bit) clearer, I encode the first parameter as the color of the line and the second one as the linestyle (so f_11 is red & dashed, f12 is red & dotted, f21 is gre

Re: [Matplotlib-users] A separate legend box for the markers only?

2014-09-12 Thread Andreas Hilboll
On 12.09.2014 20:01, ConcreteVitamin wrote: > Accidentally hit send, sorry.. Completed email: > > I have a graph that looks like this [1], in which each line has > different markers for the same number of points. I'd like to add a > separate "legend box" (like the one already in the graph) for the

Re: [Matplotlib-users] A separate legend box for the markers only?

2014-09-12 Thread Sterling Smith
Try googling "proxy artist", which leads to this page: http://matplotlib.org/users/legend_guide.html -Sterling On Sep 12, 2014, at 11:01AM, ConcreteVitamin wrote: > Accidentally hit send, sorry.. Completed email: > > I have a graph that looks like this [1], in which each line has > different ma

Re: [Matplotlib-users] A separate legend box for the markers only?

2014-09-12 Thread ConcreteVitamin
Accidentally hit send, sorry.. Completed email: I have a graph that looks like this [1], in which each line has different markers for the same number of points. I'd like to add a separate "legend box" (like the one already in the graph) for the markers only: : description for circle : descr

[Matplotlib-users] A separate legend box for the markers only?

2014-09-12 Thread ConcreteVitamin
Hi matplotlib-users@, I have a graph that looks like this [1], in which each line has different markers for the same number of points. I'd like to add a separate "legend box" (like the one already in the graph) for the markers only: : description for circle : description for right triangle