[Matplotlib-users] Plotting one figure on sevral subplots
Hi, I want to know if it is possible to create a plot on several subplots. For instance : pl.subplot(2, 2, 1) pl.plot(y1) pl.sublot(2, 2, 2) pl.plot(y2) pl.subplot(2, 2, ???) # Create a plot on the last line plot(y3) Is it possible ? Matthieu - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Plotting one figure on sevral subplots
On 9/7/07, Matthieu Brucher <[EMAIL PROTECTED]> wrote: > Hi, > > I want to know if it is possible to create a plot on several subplots. For > instance : > > pl.subplot(2, 2, 1) > pl.plot(y1) > pl.sublot(2, 2, 2) > pl.plot(y2) > pl.subplot(2, 2, ???) # Create a plot on the last line > plot(y3) > > Is it possible ? Although I am not completely sure what you are asking, I think you are asking for: subplot(221) subplot(222) subplot(212) then the last subplot (bottom row) will span both columns. JDH - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Plotting one figure on sevral subplots
> > Although I am not completely sure what you are asking, I think you are > asking for: > > subplot(221) > subplot(222) > subplot(212) > > then the last subplot (bottom row) will span both columns. > > JDH > Thank you for the fast answer :) That should be what I asked for. Won't the other subplots be erased ? Matthieu - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Plotting one figure on sevral subplots
On 9/7/07, Matthieu Brucher <[EMAIL PROTECTED]> wrote: > > Thank you for the fast answer :) > That should be what I asked for. Won't the other subplots be erased ? Only if this subplots overlap -- in this case they do not. When a previous subplot is overlapped by a new subplot, the old one is erased. JDH - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Vector magnitude?
Norbert Nemec wrote: > >> 2) Is there a way to calculate the magnitude (length) of a vector? > numpy.linalg.norm(X) > This makes more sense than len(). I've got confused by "length" :) -- cheers, steve I love deadlines. I like the whooshing sound they make as they fly by. -- Douglas Adams - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Plotting one figure on sevral subplots
> > Only if this subplots overlap -- in this case they do not. When a > previous subplot is overlapped by a new subplot, the old one is > erased. > That means too that having a plot on 2/3 of the screen is not possible, I suppose ? Matthieu - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Plotting one figure on sevral subplots
On 9/7/07, Matthieu Brucher <[EMAIL PROTECTED]> wrote: > That means too that having a plot on 2/3 of the screen is not possible, I > suppose ? To do that you need to use the axes command (a subplot is just a special case of an axes on a regular grid). For example, you could do (the arguments are left, bottom, width, height) axes([0.1, 0.7, 0.4, 0.25]) axes([0.55, 0.7, 0.4, 0.25]) axes([0.1, 0.1, 0.85, 0.55]) or some variant like that.. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] matplotlib and ipython inside ide (mac osx)
hi, i am looking for help in using matplotlib inside a graphical IDE in mac osx and preferabley even ipython with matplotlib inside an IDE. i am used to interact with the python interpreter (inside ipython, even inside ipython-inside-emacs) while several plot windows are open, but i don't have any success using a graphical IDE. i tried free IDEs (eric3, eric4) and commercial ones (komodo, wing ide) but all had the same problem: the debugger was blocked as long as the matplotlib window was open. i focussed on QtAgg since eric uses Qt, but i also tried TkAgg. does anyone have a suggestion what i might be doing wrong? thanks, kilian - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users