Re: [Matplotlib-users] customised linestyle?

2012-05-08 Thread Jonathan Slavin
The example here: http://matplotlib.sourceforge.net/examples/pylab_examples/dash_control.html?highlight=set_dashes will probably help. Jon > See the API document of plot(): > > http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.plot > > You may try different combinations

Re: [Matplotlib-users] customised linestyle?

2012-05-07 Thread Chao YUE
Hi Pengkui, I guess you're referring to something like: In [15]: plot(np.arange(0,100,2),'D-',color='k',ms=3) Out[15]: [] then it looks like it's a linestyle, but actually it's a combination of marker and line, unlike the dash '--' or dots ':' which are pure linestyles. because my data are quite

Re: [Matplotlib-users] customised linestyle?

2012-05-07 Thread Pengkui Luo
See the API document of plot(): http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.plot You may try different combinations of linestyle and marker to achieve your desired style. ~Pengkui On Fri, May 4, 2012 at 10:39 AM, Chao YUE wrote: > Dear all, > > Is it possible to

[Matplotlib-users] customised linestyle?

2012-05-04 Thread Chao YUE
Dear all, Is it possible to have a customized linestyle for line plots? such as I want '--.--.--.' or '-*-*-*' or others. I read the documentation part of set_drawstyle and a post here: http://old.nabble.com/Changing-the-Dash-Spacing--td33381003.html#a33381003 but still not clear. Could anyone g