|
From: Benjamin R. <ben...@ou...> - 2013-08-20 02:19:36
|
Perhaps hexbin() is what you are looking for? Cheers! Ben Root On Aug 19, 2013 7:29 PM, "dilpreet singh" <gig...@gm...> 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 output of the hist() method and use it as an input > to the scatter plot ? > > The part of the code i am using to plot histogram is as follows : > > data = get_data() > plt.figure(figsize=(7,4)) > ax = plt.subplots() > plt.hist(data,histtype='bar',bins = 100,log=True) > plt.show() > > Thanks > Dilpreet > > > > ------------------------------------------------------------------------------ > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |