Re: [Matplotlib-users] How to get current value of xlim/ylim?

2008-02-11 Thread Slackenerny
zooms around a little does this and that. > Now I want to draw a second plot, which uses the new xlim and ylim > values from the old plot (i.e. has the same scaling). How can read out > those values? > best wishes > he

[Matplotlib-users] How to get current value of xlim/ylim?

2008-02-11 Thread Slackenerny
Hello List, assume I'm creating a plot via >f = Figure(figsize=(5,4), dpi=100) >graph = f.add_subplot(111, autoscale_on=False, xlim=[4,50], ybound=-2) >graph.plot(x,y,"g--o", ms=5) then the user zooms around a little does this and that. Now I want to draw a second plot, which uses the new xlim and

[Matplotlib-users] Highlight datapoint

2008-01-29 Thread Slackenerny
Hey, I'm currently plotting a dataset as x,y-scatter or a set of x values, and I would like to know if there is a simple way to highlight a single point? Additional information: there is a second window with changing chemical structures, and I would like to have the energy that is connected to the