[Matplotlib-users] merge two axes

2010-10-21 Thread Ruggero
Suppose I have two functions returning axes: def f1(): f = plt.figure() ax = f.add_axes(111) ax.plot() ax.lengend() return ax def f2(): similar to f1 now I have a figure main_fig = plt.fig() I want to merge axes from f1 and f2 in a unique axes (withou splitting

[Matplotlib-users] subscript without latex

2010-10-11 Thread Ruggero
Hello, how I can write a simple formula like this: $\alpha_0$ without latex using unicode? My problem is how to write sub(super)script. Thanks. -- Beautiful is writing same markup. Internet Explorer 9 supports standards fo

[Matplotlib-users] change tick label font size

2010-09-29 Thread Ruggero
I'm using matplotlib 0.9, is there a best way to do this: for labeltick in ax.xaxis.get_majorticklabels() + ax.yaxis.get_majorticklabels(): labeltick.set_fontsize(15) I can't do: ax.tick_params(labelsize=15) as here: http://matplotlib.sourceforge.net/api/axes_api.html?highlight=tick

Re: [Matplotlib-users] move xaxis label on the right

2010-09-28 Thread Ruggero
2010/9/28 John Hunter : > On Tue, Sep 28, 2010 at 10:04 AM, Ruggero wrote: >> As in the title: usually axis label on the x axis is plottet in the >> middle of the axis. How to move it on the right? (and on the top for y >> axis) > > You cannot coerce the xlabel to the

[Matplotlib-users] move xaxis label on the right

2010-09-28 Thread Ruggero
As in the title: usually axis label on the x axis is plottet in the middle of the axis. How to move it on the right? (and on the top for y axis) -- Start uncovering the many advantages of virtual appliances and start using

[Matplotlib-users] set style similar to ROOT

2010-09-23 Thread Ruggero
Can someone give some hints to change the style of plot produced with matplotlib to be similar to plots produced with ROOT? Example here: http://precision-turra.mi.infn.it/ph_oq/graphs/eta_energy_position_amount/reta_mean/ph_oq/ -