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
 All Forums
 Origin Forum
 Origin Forum
 3D scatter plot colored from 2d frequency count

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
florin.unga Posted - 04/13/2016 : 08:45:26 AM
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:
1   L A T E S T    R E P L I E S    (Newest First)
meili_yang Posted - 04/13/2016 : 09:30:34 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000