On Thursday 12 July 2007 6:44:53 pm Rodrigo López Negrete de la Fuente wrote: > Hi group, > > I'm trying to plot certain data sets with different markers and line > styles, and to add legends to distinguish between them. I'm using > matplotlib through pylab. > > My concern is that the added legend uses 4 markers and the line style is > barely visible. Is there any way to make it use only 2 markers (some what > in the way matlab does it)?
Try legend(..., numpoints=2) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users