Re: [Matplotlib-users] linestyles in matplotlib.pyplot.plot

2012-09-13 Thread Goutam Paul
Can we use the markers as alternatives for linestyles? Consider the following in sage: Suppose I have defined f(x) for a range already, say by the following: x = np.arange(0,1,0.001) import matplotlib.pyplot as plt plt.plot(x,f(x), color='magenta', linestyle='--', linewidth=4, label="$f(x)$")

Re: [Matplotlib-users] linestyles in matplotlib.pyplot.plot

2012-09-12 Thread Damon McDougall
On Wed, Sep 12, 2012 at 11:31 PM, Goutam Paul wrote: > It seems that there are only five line-styles: > > "-" (solid) – default > "--" (dashed) > "-." (dash dot) > ":" (dotted) > "None" or " " or "" (nothing) > > What if I want to have more linestyles? Say, ++, **, xx, ~~, etc. Is it > possible to

[Matplotlib-users] linestyles in matplotlib.pyplot.plot

2012-09-12 Thread Goutam Paul
It seems that there are only five line-styles: "-" (solid) – default "--" (dashed) "-." (dash dot) ":" (dotted) "None" or " " or "" (nothing) What if I want to have more linestyles? Say, ++, **, xx, ~~, etc. Is it possible to have user-defined linestyles? How?