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 for Programming
 LabTalk Forum
 To plot values using scripts in a function graph
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

shyamigcar2

India
25 Posts

Posted - 06/13/2020 :  10:38:43 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
How to create a line using a function in a function graph using f(x)= sin(x) + 3 from x= 1 to 10, using labtalk scripts.

I do not want to go to work sheets and add values and create a graph.

YimingChen

1667 Posts

Posted - 06/15/2020 :  10:31:10 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply

create mydata -fp 100 "sin(t) + 3" 1 10;
plotxy mydata 200;


Please also check this ref page:
https://www.originlab.com/doc/LabTalk/ref/Create-cmd#-fp2.3BCreate_a_2D_loose_datasets_for_3D_parametric_function_plot

James

Edited by - YimingChen on 06/15/2020 10:31:23 AM
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