T O P I C R E V I E W |
maric001 |
Posted - 10/01/2014 : 06:26:32 AM Origin Ver. and Service Release (Select Help-->About Origin): 9.1 SR3 64bit Operating System:Win7
Hi there,
i'm sure it is an easy task but i am stuck:
Writing a labtalk script for a standard scatter plot (this works) and want to plot in the same layer a function curve (this i need for sure) where the formula is coming from a certain cell (this is optional).
No fitting needed ,and the axis scale should not change with regards to the scatter data.
|
1 L A T E S T R E P L I E S (Newest First) |
lkb0221 |
Posted - 10/01/2014 : 11:20:59 AM Hi,
Please see the following example:
// Begin // Assuming you've already created a scatter plot // Assuming the graph window is active create mydata -fp 500 "t*cos(t)" $(X1) $(X2); // Creates a loose dataset called mydata with the same X range as current axis, number of points be 500, by formula t*cos(t) plotxy iy:=mydata plot:=200 rescale:=0 color:=2 ogl:=[%H]1!; // End
For more infomation, please see the create cmd page: http://www.originlab.com/doc/LabTalk/ref/Create-cmd
Zheng OriginLab |
|
|