>
> import matplotlib.pyplot as plt
>
> import numpy as np
>
> y = range(1, 4)
> x = np.power(10, y)
>
> plt.gca().set_xscale('log', basex=10, subsx=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
>
> plt.gca().plot(x, y)
>
> plt.show()
>
>From running the code above, I see only 8 subticks between the major ticks
On Sunday, May 15, 2011, Alice Marcot wrote:
> I am trying use matplotlib on CentOS through a PHP script. If I run it on the
> command line it works fine and generates a PNG figure. If I run with another
> user,
>
> sudo -u apache python filename.py
>
> it gives error: Cannot obtain dvipng versi
I am trying use matplotlib on CentOS through a PHP script. If I run it on
the command line it works fine and generates a PNG figure. If I run with
another user,
sudo -u apache python filename.py
it gives error: Cannot obtain dvipng version.
Any ideas? I search the net but no answers. It looks li
How is the space between the axis and the outer margins of a figure defined?
How much space is between the upper most plot and the upper end of the figure?
This is the space e.g for the titles etc. but can this be space be increased?
Or how can a some text be placed above the axis but with a lot o
Thanks!
-Joe
On Sun, May 15, 2011 at 12:50 AM, Eric Firing wrote:
> On 05/14/2011 12:22 PM, Joe Kington wrote:
> > Hi,
> >
> > When getting an axis's extents through "axis", the autoscaling state of
> > the axis is turned off, regardless of the state it was in before calling
> > "ax.axis()"
> >