Hello,
I am using axes_grid toolkit to create multiple axes. The labels' colors are
nicely being updated, however size or fontsize has no effect on the
resulting figure :( Are they functional, or is it something wrong with my
implementation? Oh also I couldn't make the grids switched on my figures.
Here is the snippet that I use:
fig = plt.figure(1)
host = SubplotHost(fig, 111)
fig.add_subplot(host)
par = host.twinx()
host.set_xlabel("Time [sfm]", size=50)
host.set_ylabel("DMT CCN Concentration [#/cm^3]", fontsize=20)
par.set_ylabel("Supersaturation [%]", fontsize=20)
p1, = host.plot(Time, dccnConc, label="dccnConc")
p2, = host.plot(Time, dccnConAmb, label="dccnConAmb")
p3, = host.plot(Time, dccnConSTP, label="dccnConSTP")
p4, = par.plot(Time, dccnSS, label="dccnSS")
p5, = par.plot(Time, dccnSS_Amb, label="dccnSS_Amb")
host.axis["left"].label.set_color(p1.get_color())
par.axis["right"].label.set_color(p5.get_color())
host.axis["left"].label.set_label(p1.get_label())
host.legend()
plt.show()
These are my current system properties:
Linux 2.6.27.19-170.2.35.fc10.i686.PAE (Fedora 11)
Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
IPython 0.10.bzr.r1174 (with --pylab)
and a very recent Matplotlib svn version.
Thanks.
--
Gökhan
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users