[Matplotlib-users] 3d subplots, white space

2013-02-14 Thread Petro
Hi all, I try to make a figure with 6 3d subplots. My problem is that there is a lot white space around. I tried to play with subplot_adjust, but without much success. Any hints? Thanks. -- Free Next-Gen Firewall Hardwar

Re: [Matplotlib-users] problem with png image

2012-08-22 Thread Petro
Michael Droettboom writes: > Can you try the GtkAgg backend instead and confirm the bug isn't there? > The "pure" Gtk backend doesn't see a lot of use these days and isn't > very well tested. > > Mike > Thanks. It solved the problem. --

Re: [Matplotlib-users] problem with png image

2012-08-22 Thread Petro Khoroshyy
Damon McDougall writes: > On Wed, Aug 22, 2012 at 11:28:54AM +0200, Petro wrote: >> Hi list. >> I generate some png images using matplotlib, and get very different >> results depending on figuresize >> __

[Matplotlib-users] problem with png image

2012-08-22 Thread Petro
(np.random.rand(10),'o') plt.subplot(2,1,2) plot(np.random.rand(10),'o') pic_name='fit_rates1.png' path_name='/home/petro/tmp/' plt.savefig(path_name + pic_name) __ the code above ge

[Matplotlib-users] subplot and image

2012-01-31 Thread Petro Khoroshyy
igure.dpi']=300 rcParams['mathtext.default']='regular' rcParams['xtick.labelsize']=8 rcParams['ytick.labelsize']=8 pylab.rc('font', family='serif') pylab.rc('font', serif='Times New Roman') pylab.rc('text',

Re: [Matplotlib-users] WYSIWYG figure

2012-01-12 Thread Petro
7;) File "/usr/lib/pymodules/python2.6/matplotlib/figure.py", line 447, in set_size_inches manager.resize(int(canvasw), int(canvash)) TypeError: resize() takes exactly 2 arguments (3 given) But once I mage have made the figure foating, it took the correct size. Best Petro > Hi Pe

[Matplotlib-users] WYSIWYG figure

2012-01-11 Thread Petro
Hi all. Can I set a figure to appear on my screen in the same way as it is saved in png file? Thanks. -- Petro -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or va

[Matplotlib-users] ticks in defined place?

2012-01-11 Thread Petro
Hi all. I want to make a plot with two xticks. Lets say at -3051 and 2011 position. How can I do it? Thanks. Petro. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or va

[Matplotlib-users] tailwidth?

2011-12-16 Thread Petro
How can I change linewidth of this arrow? arrow1=pylab.annotate("", xytext=(-3500,-1e8), xy=(-3500,8e8),fontsize=8,arrowprops=dict(arrowstyle="<->")) Thank you in advance. Petro -- Learn Wi