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 plot HELP!!

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
sheffield_phys Posted - 03/21/2012 : 09:31:00 AM
Hi all,

I am new to origin so this may be a bit of a simple question however after hours of messing around I am still getting nowhere.

I am trying to create a 3D plot from data outputted to a .txt file from a C++ programme which I have written. The data is outputted into 3 collumns titled .... Kx Ky and amplitude with the corresponding data in a list below each heading.

I want to plot Kx on the X axis, Ky on the Y axis and amplitude on the Z axis.


Is there a way to do this?? If so could someone please help me out

Thanks a lot,
Sheffield_Phys

2   L A T E S T    R E P L I E S    (Newest First)
sheffield_phys Posted - 03/24/2012 : 07:46:23 AM
Thanks a lot for your help Easwar. I have managed to get a sensible looking plot now

Sheffield_phys
easwar Posted - 03/21/2012 : 11:13:30 AM
Hi Sheffield_Phys,

With data arranged as XYZ in three columns, you can only plot a contour plot (which uses triangulation) in the current version. We will look into supporting surface plot directly from such data, in a future version.

For now, you need to first grid your XYZ data to create a matrix. To do this, select your Z column and select the menu: Worksheet->Convert to Matrix->XYZ Gridding. Then select a gridding method under the "Gridding Settings" node, change other settings as desired, and create the matrix. Then you can plot that matrix as a surface plot. The Thin Plate Spline method produces a surface that is closest to your data points if your data are very irregularly spaced, and this method also has a smoothing parameter to adjust smoothness of the surface if desired.

Easwar
OriginLab



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