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
 capturing data
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

orimar

Slovenia
1 Posts

Posted - 05/20/2003 :  03:22:13 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi!

I would like to export(capture) the coordinates of the function graph I draw using "Draw Data" or "Freehand Draw Tool" in a format suitable for further data analysis. Like DAT format used in Origin Samples.
Is it possible to get this data from a function plot?

Thank you very much!

Martin

easwar

USA
1965 Posts

Posted - 05/20/2003 :  1:10:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Martin,

When you draw data using the "Draw Data" tool, a new dataset is created - Origin creates a hidden worksheet (such as Draw1) that contains the xy data of the points. Use Project Explorer to find the worksheet and to bring it up from hidden state.

When you use the Free Hand Draw tool to draw a curve on the graph, a dataset is not created. The drawing is an object on the graph layer. Say your object name is Polyline. Then you can access the x,y coordinates of the points in your object by typing
polyline.x1=
polyline.y3=
etc in your script window. You could write LabTalk code to get all the values and put them into say columns of a worksheet, thereby creating a dataset.

As for function plots, you can right-click on the function plot, or go to Plot Details and ask for a function plot copy. You can then get to the worksheet of the copy by right-clicking on the curve in the newly created graph.

Easwar
OriginLab.





Edited by - easwar on 05/20/2003 1:11:18 PM
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