Hinweis:Dieser Abschnitt ist nur in englischer Sprache verfügbar. Wir bitten um Ihr Verständnis.

3.5.8.15 Lastpoint

Contents

Description

This function returns the last value of dataset.

Syntax

double lastpoint(dataset vd)

Parameter

vd

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

Return

Return the last value of dataset vd

Example

Example1

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

Example2

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

See Also

Firstpoint, Plotdata