comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Some histogram magic help required - gridding/counting large dataset
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Some histogram magic help required - gridding/counting large dataset [message #88173 is a reply to message #88153] Tue, 25 March 2014 09:10 Go to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
On Tuesday, March 25, 2014 5:11:03 AM UTC-5, rj...@le.ac.uk wrote:
> I have 2 large datasets that I want to plot as the x and y data on a scatter plot.
>
>
>
> However I'd also like to grid this data in the x and y direction and count how many datapoints fall into each grid cell.
>
>
>

Here's a snippet for how to do what (I think) you're asking:

https://www.dropbox.com/s/j9ffh1ns3wcguq4/histo_notes.pdf

In the notes, h2d will contain the counts per bin.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: a GDL Workshop in June 2014
Next Topic: cgwindow unable to create PDF file in IDL 8.3

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 21:57:39 PDT 2025

Total time taken to generate the page: 0.39977 seconds