The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 3D scatter plot colored from 2d frequency count
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

florin.unga

France
2 Posts

Posted - 04/13/2016 :  08:45:26 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello all,

I have 2 columns, X-longitude, Y-latitude (1000 lines). I need a scatter plot and colored by their density. So if they are closer, the color should be darker.
What I'm doing, is I create a matrix from 2d frequency counts/Binning, create the matrix with 1 degree binning then plot as surface 3D Surface. This is ok, but not too satisfying for me.
What I would like, is to assign a color to every long/lat (every line) corresponding to their density.
So basically, from 2 columns I would like to have a 3rd column, which will represent the color corresponding to their distance between them...

I can give some graphs as example if needed.

Thanks in advance,
Cheers.

Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

meili_yang

103 Posts

Posted - 04/13/2016 :  09:30:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Florin,

Origin has a build in template to plot density for XY column. The density calculation is based on kernel density estimation. This feature is added since Origin 2015, and please take a look at this example here for how to plot:
http://www.originlab.com/doc/Origin-Help/Create-2D-Kernel-Density

Is this what you are trying to plot? If not, just paste some example here, and we can check how to graph in Origin.

Meili
OriginLab Tech Support
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000