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

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-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

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 plot

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 are

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

[Matplotlib-users] Scatterplot problem

2008-02-26 Thread chombee
I'm having a couple of problems drawing a basic relational scatter plot. (Specifically, it's called a dot-dash-plot in the book I have and is described as framing the bivariate scatter with the marginal distribution of each variable.) The idea is that you have a bivariate scatter plot and use the