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
 export txt file to origin
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Zati

Malaysia
3 Posts

Posted - 12/15/2014 :  03:34:38 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I would like to plot a NMR graph which I have integrated using TOPSPIN software. I manage to get txt file from Topspin. but from the txt file, it only give value for Y (see image) axis

How am I going to plot the NMR graph in origin if i have no x value. Please someone advise me.

Thank you, Zati

Edited by - Zati on 12/15/2014 03:57:49 AM

lkb0221

China
497 Posts

Posted - 12/15/2014 :  09:41:00 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Once you bring those data into Origin, you can right click the Y column header and select Set Sampling Interval.
http://www.originlab.com/doc/Origin-Help/WksCol-SampleInterval

Or, just create a X column manually by patterned data, according to the X info.

If there is no X founded, the data plot will use row index number as auto X.

Zheng
OriginLab

Edited by - lkb0221 on 12/15/2014 09:42:47 AM
Go to Top of Page

Zati

Malaysia
3 Posts

Posted - 12/16/2014 :  01:07:04 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I am facing a problem to locate the sampling interval maybe as I used the older version of Origin 6.0.Is that the reason?


I am a new comer, thank you for your help Zheng.
Go to Top of Page

cdrozdowski111

USA
247 Posts

Posted - 12/16/2014 :  08:57:15 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Zati,

I don't have Origin 6 installed but you can try this.

Once you have your data in column 2, open the Script Window. Add the following script, select it all, and press the Enter key to run it.

The first three variables are the values based on the image in your initial post.

It should populate column 1 with data starting with the "LEFT" value to the "RIGHT" value with the number of rows being the same as the "SIZE" value.


double dX1 = 220.01409912109375;
double dX2 = -18.90661953002647;
double dNumPts = 32768;
double dInt = (dX2 - dX1)/(dNumPts - 1);
col(1) = data(dX1, dX2, dInt);


I would suggest that, since you are very new to Origin, you considering trying the latest version (Origin 2015). Considering that there is much to be learned, you might as well learn by using the most recent version rather than investing time learning in a considerably older, more limited, version.
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