Engineering Solutions

Reading Curves from an ASCII File

Reading Curves from an ASCII File

Previous topic Next topic No expanding text in this topic  

Reading Curves from an ASCII File

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Curves are read from an ASCII file with the Read Curves panel. The format of the input file is assumed is as follows:  

 

XYDATA,TITLE

X1, Y1

X2, Y2

.

.

.

ENDDATA

XYDATA,TITLE

X1, Y1

X2, Y2

.

.

.

ENDDATA

 

Each curve in the file is defined in a block format. The block begins with the statement, XYDATA.  After XYDATA, the title assigned to the curve, which is displayed in the legend, follows on the same line.  Point data follows with a set of (x, y) data pairs on each line.  The block ends with an ENDDATA statement. In the above example, there are two blocks of data, which define two curves.

 

Return to XY Plotting