For Programmers: Free Programming Magazines  


Home > Archive > Matlab > January 2008 > 3D Histogram









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author 3D Histogram
Christine

2008-01-31, 8:28 pm

I am currently working on a research project where I am
plotting the distribution of bullets. Each bullet has an x
and y coordinate, they are all then binned. Is there a way
to create a 3D histogram of this data with the z being the
height/number of bullets at each x and y point.?
Walter Roberson

2008-01-31, 8:28 pm

In article <fnt1gq$bmq$1@fred.mathworks.com>,
Christine <xochristineox@gmail.com> wrote:
>I am currently working on a research project where I am
>plotting the distribution of bullets. Each bullet has an x
>and y coordinate, they are all then binned. Is there a way
>to create a 3D histogram of this data with the z being the
>height/number of bullets at each x and y point.?


hist3()
--
"Okay, buzzwords only. Two syllables, tops." -- Laurie Anderson
Christine

2008-01-31, 8:28 pm

roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in
message <fnt2d9$t1t$1@canopus.cc.umanitoba.ca>...
> In article <fnt1gq$bmq$1@fred.mathworks.com>,
> Christine <xochristineox@gmail.com> wrote:
>
> hist3()
> --
> "Okay, buzzwords only. Two syllables, tops." -- Laurie

Anderson


Can I input hist3 and then a matrix:

x y z
1 1 4
2 1 3
3 1 7
1 2 6
2 2 3
3 2 8
1 3 2
2 3 1
3 3 9

?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com