Re: [Matplotlib-users] Graphing in an existing PyGTK window
> From: Vlastimil Brom [mailto:vlastimil.b...@gmail.com] > > to reuse the matplotlib controls or just the plotting area, check the > examples on embedding in the demo pages: > http://matplotlib.org/examples/user_interfaces/embedding_in_gtk.html > or the others in the respective section: > http://matplotlib.org/examples/user_interfaces/index.html > (I don't use gtk myself, but I believe, it might be directly usable in > your code.) That's just the ticket. Thanks. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Graphing in an existing PyGTK window
I'm not much of a matplotlib user, and started poking around for "GtkSocket matplotlib". I'm not sure that's the right direction, however, it eventually led me to this blog post which only exists now in the Wayback Machine: http://web.archive.org/web/20111005011905/http://www.serpia.org/blog/2007/nov/03/matplotlib-and-pygtk-app/ In it (a complete Gtk+matplotlib tutorial) he uses FigureCanvasGTK to place the plot in the PyGtk app. Skip -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Graphing in an existing PyGTK window
2013/8/19 Paul D. DeRocco : > I've just tried Matplotlib for the first time, for plotting on the screen, > and the examples all seem to pop up a new window with interactive tools, > like Matlab does. That's very nice, but what I need is to create a static > plot that appears in some sort of widget in an existing window created > with PyGTK, without any of the controls. Is there a page that shows how > this can be done? Is it even possible? > > -- > > Ciao, Paul D. DeRocco > Paulmailto:pdero...@ix.netcom.com > Hi, to reuse the matplotlib controls or just the plotting area, check the examples on embedding in the demo pages: http://matplotlib.org/examples/user_interfaces/embedding_in_gtk.html or the others in the respective section: http://matplotlib.org/examples/user_interfaces/index.html (I don't use gtk myself, but I believe, it might be directly usable in your code.) hth, vbr -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Graphing in an existing PyGTK window
> From: Sudheer Joseph [mailto:sudheer.jos...@yahoo.com] > > If you start python like below with qt console. > You will get plots with out controls etc. You can right click > on plots and save it as png. Else from command prompt as pdf > as you wish. > > ipython qtconsole --colors=linux --pylab=inline That's not what I meant. I'm not using ipython or qtconsole. This is for an embedded system (Gumstix) with a small LCD. I have a program written in PyGTK that fills the LCD with a single window with various buttons in it. I want to display a plot in a pane in that window, not in a separate window. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Graphing in an existing PyGTK window
Hi Paul, If you start python like below with qt console. You will get plots with out controls etc. You can right click on plots and save it as png. Else from command prompt as pdf as you wish. ipython qtconsole --colors=linux --pylab=inline > > From: Paul D. DeRocco >To: Matplotlib list >Sent: Monday, 19 August 2013 1:17 PM >Subject: [Matplotlib-users] Graphing in an existing PyGTK window > > >I've just tried Matplotlib for the first time, for plotting on the screen, >and the examples all seem to pop up a new window with interactive tools, >like Matlab does. That's very nice, but what I need is to create a static >plot that appears in some sort of widget in an existing window created >with PyGTK, without any of the controls. Is there a page that shows how >this can be done? Is it even possible? > >-- > >Ciao, Paul D. DeRocco >Paul mailto:pdero...@ix.netcom.com > > > >-- >Get 100% visibility into Java/.NET code with AppDynamics Lite! >It's a free troubleshooting tool designed for production. >Get down to code-level detail for bottlenecks, with <2% overhead. >Download for free and get started troubleshooting in minutes. >http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >___ >Matplotlib-users mailing list >Matplotlib-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > >-- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Graphing in an existing PyGTK window
I've just tried Matplotlib for the first time, for plotting on the screen, and the examples all seem to pop up a new window with interactive tools, like Matlab does. That's very nice, but what I need is to create a static plot that appears in some sort of widget in an existing window created with PyGTK, without any of the controls. Is there a page that shows how this can be done? Is it even possible? -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users