Just an idea: Maybe you could also auto cycle between dash types if only
the colour and not the dash type is specified in a plot command. The
gnuplot default would be one model, or the predefined patterns in
CorelDraw or Inkscape etc. Personally I don't see this as a high
priority though.
Alan G Isaac wrote:
On Thu, 14 Feb 2008, Neal Becker apparently wrote:
Can I get nice default line styles and markers,
automatically set up with matching legend? Automatically
chosen? I don't want to have to go through and manually
choose each marker and line style.
Well, you have to
On Tue, 19 Feb 2008, Neal Becker apparently wrote:
IIUC, in order to have each line with distinct line style, I have to
explicitly set the line style. I want pylab to just choose them, just as
it does for colors.
Well, pylab does choose: it varies color and not the dash
pattern in order
On Feb 19, 2008 9:13 AM, Alan G Isaac [EMAIL PROTECTED] wrote:
Of course you can do something like this::
from itertools import cycle
mystyles = ['r+-', 'b.--', 'go-.'] #etc
ax1styles = cycle( mystyles )
You can also cycle through the list matplotlib uses
import
On Thu, 14 Feb 2008, Neal Becker apparently wrote:
Can I get nice default line styles and markers,
automatically set up with matching legend? Automatically
chosen? I don't want to have to go through and manually
choose each marker and line style.
Well, you have to ask for a legend, but
Can matplotlib automatically choose line styles and/or markers for a group
of plots?
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Alan G Isaac wrote:
On Thu, 14 Feb 2008, Neal Becker apparently wrote:
Can matplotlib automatically choose line styles and/or
markers for a group of plots?
http://matplotlib.sourceforge.net/matplotlibrc
Although I prefer to pass in a dict of keyword arguments.
Not sure what you're