Yes. it works fine. The only problem is that I would like to set my default
spacing for dashed line, which I guess might need rcParams.
In [1]: line,=plot(range(10),'--')
In [2]: line.set_dashes((5,2))
In [4]: line._dashSeq
Out[4]: (5, 2)
so the _dashSeq is a private attribute and cannot be accessed by
mat.rcParams
it's not in the rc.Params.keys()
thanks for your answer!
Chao
2012/5/7 Pengkui Luo <pengkui....@gmail.com>
> Hi Chao,
>
> Does this work for you?
>
>
> http://old.nabble.com/Setting-dash-size-and-gap-of-dashed-line-in-matplotlib-td27386453.html
>
> ~Pengkui
>
>
> 2012/5/7 Chao YUE <chaoyue...@gmail.com>
>
>> Dear all,
>>
>> I guess Is it not possible to control dash line spacing by set rcParam?
>>
>> cheers,
>>
>> Chao
>>
>> --
>>
>> ***********************************************************************************
>> Chao YUE
>> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
>> UMR 1572 CEA-CNRS-UVSQ
>> Batiment 712 - Pe 119
>> 91191 GIF Sur YVETTE Cedex
>> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
>>
>> ************************************************************************************
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>
--
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users