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

2008-02-11 Thread Slackenerny
Hi,
I could help myself with
 graph.get_xlim()
which I found after finally guessing the right expressions for Google,
but I wonder how I could have found it in the help() output...
I've been searching that for quite sometime and didn't come up with
anything...
So, how could I have helped myself, without annoying you? ;)

best wishes

 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 ylim
 values from the old plot (i.e. has the same scaling). How can read out
 those values?

 best wishes
 heiko



-- 
Mit freundlichen Grüßen
Slackenerny
mailto:[EMAIL PROTECTED]




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[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 ylim
values from the old plot (i.e. has the same scaling). How can read out
those values?

best wishes
heiko



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[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 structure shown at that very moment to be highlighted...

best wishes



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users