Re: [Matplotlib-users] plotting single point

2009-11-10 Thread Matthias Michler
Hi Pål, you can turn off matplotlibs autoscaling by e.g. import matplotlib.pyplot as plt ax = plt.subplot(111, autoscale_on=False, xlim=(..., ...), ylim=(..., ...)) or ax.set_autoscale_on(False) Kind regards Matthias On Tuesday 10 November 2009 01:50:47 Paul Northug wrote: > Greetings, >

[Matplotlib-users] plotting single point

2009-11-09 Thread Paul Northug
Greetings, I would much like to plot single point in existing figure. If the point is outside of current axes limit, I would like the axes not to resize. Is there an easy way? Currently, to add a point x,y, I scatter([x],[y]) then xlim and ylim to make sure the axes did not rescale. Pål