[Matplotlib-users] how to plot a Polygon / plt.draw() problem

2010-04-11 Thread tomislav_ma...@gmx.com
Hi everyone, can someone help me to plot a polygon in matplotlib? I have been reading about the axes.patches.Polygon class and I have defined the Polygon object that has a preset lw and points. How do I plot it? I'm confused because the Axes documentation states that this class holds most of

Re: [Matplotlib-users] how to plot a Polygon / plt.draw() problem

2010-04-11 Thread Friedrich Romstedt
2010/4/11 tomislav_ma...@gmx.com tomislav.ma...@gmx.com: can someone help me to plot a polygon in matplotlib? I have been reading about the axes.patches.Polygon class and I have defined the Polygon object that has a preset lw and points. How do I plot it? Here

Re: [Matplotlib-users] how to plot a Polygon / plt.draw() problem

2010-04-11 Thread Alan G Isaac
On 4/11/2010 9:27 AM, Friedrich Romstedt wrote: I think you can use Tk via the Tkinter Python package. On linux I heard it's looking a bit weird, but as a starting points it's easy enough. Weird how? Will that be fixed with the new release (ttk, in Python 2.7)? Thanks, Alan Isaac

[Matplotlib-users] LaTeX Mathdesign Fonts patch?

2010-04-11 Thread arsbbr
Hi, by putting rc('text', usetex=True) rc('text.latex',preamble='\usepackage[bitstream-charter]{mathdesign}') in my plot source I was trying to get a consistent fontface, but it doesn't work. I know since preamble is not officially supported in matplotlib I didn't really expect it to

[Matplotlib-users] matplotlib colors vs html colors

2010-04-11 Thread Peter Butterworth
sorry if this has been covered before, but I must say I've found the following quite confusing : color=cyan is not in fact equivalent to color='c' in colors.py : Commands which take color arguments can use several formats to specify the colors. For the basic builtin colors, you can use a

[Matplotlib-users] schematic diagrams - fancy boxes, packers and arrows

2010-04-11 Thread John Hunter
This is mainly a question for JJ. I would like to make a schematic diagram, like you might get from Dia or OmniGraffle. With the offset boxes, annotations, vpackers/hpackers and fancy arrows, it seems like the pieces are mostly in place. Unlike simple annotations, I need to have multiple arrows

Re: [Matplotlib-users] contourf creats white-like lines (or gaps) between each two color patches

2010-04-11 Thread lmkli
What version of mpl are you using? My mpl version is 0.99.1 Are you modifying the default anti-aliasing in the patch collections that contour is creating? Could you please tell me how to this? I am very new to matplotlib, thank you very much if you can give me some advices. Are you seeing

Re: [Matplotlib-users] contourf creats white-like lines (or gaps) between each two color patches

2010-04-11 Thread Eric Firing
lmkli wrote: What version of mpl are you using? My mpl version is 0.99.1 Are you modifying the default anti-aliasing in the patch collections that contour is creating? Could you please tell me how to this? I am very new to matplotlib, thank you very much if you can give me some advices.