Re: [Matplotlib-users] colors

2014-06-19 Thread Eric Firing
On 2014/06/18, 5:23 AM, Bruno Pace wrote: > Ok, so using the norm=SymLogNorm I cannot distinguish the values that > are exactly 0.0 from the really small ones, right? Would it be possible Correct, the scale is linear for small values. > to make use of the set_bad method without having to use mask

[Matplotlib-users] failed experiment with tight_layout

2014-06-19 Thread Neal Becker
/usr/lib64/python2.7/site-packages/matplotlib/tight_layout.py:225: UserWarning: tight_layout : falling back to Agg renderer warnings.warn("tight_layout : falling back to Agg renderer") Traceback (most recent call last): File "./plot_stuff2.py", line 10, in plt.tight_layout() File "/usr/

Re: [Matplotlib-users] Pick a particular data from array

2014-06-19 Thread Slavin, Jonathan
​So do you want to find the particular row or column to plot interactively?​ For that you should look at "Event handling and picking" in the matplotlib docs (http://matplotlib.org/users/event_handling.html). It shows there how to return the values of the location of mouse click events. Once you

[Matplotlib-users] How to make diagram x_label by time and x_lable can move automatic

2014-06-19 Thread 不坏阿峰
Dear all could some expert can help me. I have modify from one demo. but i do not how to change the x_lable to time like H:M:S, and can move it. i have try some way, but failed. hope some expert can do me a favor. thanks a lot ## # coding=utf-8 import os import pprint import

Re: [Matplotlib-users] how to draw text label for multi pie donuts

2014-06-19 Thread 不坏阿峰
thanksfor ur reply. after i send this mail . i have trie annotate, and make it works. if have good style, hope all of u can share it. for i in range(len(ls)): circle_ls.append(pie(ax, ls[i], radius=r_len-width*i, pctdistance=1-width/2, **kwargs)) ax.ann

Re: [Matplotlib-users] how to draw text label for multi pie donuts

2014-06-19 Thread Mike Kaufman
use annotate() http://matplotlib.org/users/annotations_guide.html#plotting-guide-annotation M On 6/19/14, 12:27 AM, 不坏阿峰 wrote: > thanks to Joe Kington > ‘s help, i > got this pie donuts > i have modified code to generate pie base one t

Re: [Matplotlib-users] Pick a particular data from array

2014-06-19 Thread Oliver
Just to clarify, do you actually want to be able to "pick" it, so by selecting in interactively (and probably manually, i.e. with the mouse) or are you only interested in displaying the "data underneath the line". The second is straightforward: just plot in a new axes the relevant row of your 2D d