Re: [Matplotlib-users] Scatterplot problem

2008-03-21 Thread Sean Hammond
Okay I've learnt a bit more about this: http://img229.imageshack.us/img229/6467/scatterplot5st6.png I need to explicitly make a new figure as well as a new axis, and put the rc calls before the figure calls, rc changes only seem to take effect on figures created afterwards. Also I was stupidly us

Re: [Matplotlib-users] Scatterplot problem

2008-02-28 Thread chombee
Okay I see what's going on now. The output from axis('tight') specifies the limits of the two axes: > (-0.33718689788053952, > 7.0809248554913298, > -0.34782608695652173, > 7.3043478260869561) As you can see it's actually setting negative minimum limits for both axes, which is why the axes ar

Re: [Matplotlib-users] Scatterplot problem

2008-02-28 Thread John Hunter
On Thu, Feb 28, 2008 at 8:51 AM, chombee <[EMAIL PROTECTED]> wrote: > That did improve the situation slightly, but it still looks like > something odd is going on. It's clearer if I actually draw the axis > frame. These two screenshots show the graphic before and after calling > axis('tight'):

Re: [Matplotlib-users] Scatterplot problem

2008-02-28 Thread chombee
On Thu, 2008-02-28 at 14:19 +0100, Bernhard Voigt wrote: > > How do I get rid of the redundant ticks on the top and right > edges? > > pylab.gca().get_xaxis().set_ticks_postion('bottom') > > same for yaxis That worked, thanks! > Why is there such a big gap between the

Re: [Matplotlib-users] Scatterplot problem

2008-02-28 Thread John Hunter
On Wed, Feb 27, 2008 at 12:04 PM, chombee <[EMAIL PROTECTED]> wrote: > Is there any way to stop some of my text labels from overlapping? For the ones that are tightly clustered, you could use the annotate command to move the text farther away from the associated point. Annotate has support for d

Re: [Matplotlib-users] Scatterplot problem

2008-02-28 Thread Bernhard Voigt
> How do I get rid of the redundant ticks on the top and right edges? pylab.gca().get_xaxis().set_ticks_postion('bottom') same for yaxis > Is there any way to stop some of my text labels from overlapping? don't know > Why is there such a big gap between the plot itself and the axes ticks?

Re: [Matplotlib-users] Scatterplot problem

2008-02-27 Thread chombee
Okay I've learnt a bit more about this: http://img229.imageshack.us/img229/6467/scatterplot5st6.png I need to explicitly make a new figure as well as a new axis, and put the rc calls before the figure calls, rc changes only seem to take effect on figures created afterwards. Also I was stupidly us