Re: [Matplotlib-users] grouping several line types together in legend of plots

2009-07-17 Thread Jae-Joon Lee
On Thu, Jul 16, 2009 at 10:49 PM, per freemperfr...@gmail.com wrote: hi all, suppose i have am plotting several lines using 'plot', some are dashed (using '--') and some are ordinary solid lines. i am plotting several solid and several dashed lines, all in different colors, as in: for n in

[Matplotlib-users] grouping several line types together in legend of plots

2009-07-16 Thread per freem
hi all, suppose i have am plotting several lines using 'plot', some are dashed (using '--') and some are ordinary solid lines. i am plotting several solid and several dashed lines, all in different colors, as in: for n in num_lines: # plot dashed line plot(line_x[n], line_y[n], '--',