Re: [Matplotlib-users] Plot Scatter plot with hist() method output

2013-08-19 Thread Benjamin Root
Perhaps hexbin() is what you are looking for? Cheers! Ben Root On Aug 19, 2013 7:29 PM, "dilpreet singh" wrote: > Hi > > i want to plot a scatter plot similar to the one attached with email . I > can plot a histogram but the hist method can't plot a scatter plot . Is > there a way to use the ou

Re: [Matplotlib-users] Plot Scatter plot with hist() method output

2013-08-19 Thread Ryan Nelson
Dilpreet, Fortunately, you have a couple of options here. First of all, when you call the plt.hist function, it actually returns three useful sets of data: the frequencies, bin edges, and the bar patches. The first two are probably what you want. You can grab those for later use in your code by do

Re: [Matplotlib-users] Graphing in an existing PyGTK window

2013-08-19 Thread Paul D. DeRocco
> 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://

Re: [Matplotlib-users] Graphing in an existing PyGTK window

2013-08-19 Thread Skip Montanaro
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

Re: [Matplotlib-users] Graphing in an existing PyGTK window

2013-08-19 Thread Vlastimil Brom
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

Re: [Matplotlib-users] Graphing in an existing PyGTK window

2013-08-19 Thread Paul D. DeRocco
> 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 --color

Re: [Matplotlib-users] Graphing in an existing PyGTK window

2013-08-19 Thread Sudheer Joseph
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   >

[Matplotlib-users] Graphing in an existing PyGTK window

2013-08-19 Thread 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 P