3.5.8.10 Firstpoint

Description

This function returns the first value of dataset.

Syntax

double firstpoint(dataset vd)

Parameter

vd

A dataset, plot data in graph or a range in Origin worksheet

Return

Return the first value of dataset vd

Example

Example1

newbook;
col(A) = data(1,100);
aa = firstpoint(col(A));
aa=;

Example2

newbook;
fname$ = system.path.program$ + "Samples\Curve Fitting\Gaussian.dat";
impASC;
plotxy iy:=(1,2) plot:=200;
aa = firstpoint(plotdata(1,Y));
aa=;

See Also

Lastpoint, Plotdata