home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1996 February
/
PCWK0296.iso
/
sharewar
/
os2
/
grafika
/
splot
/
demo
/
simple3.spt
< prev
next >
Wrap
Text File
|
1994-06-08
|
549b
|
22 lines
/* demo of simple data plotting but*/
/* over riding some more of the defaults */
#include <splot.h>
double *data;
main()
{
readdata("demo\data1.dat",data);
set(PLOTTYPE,SYM_LINES);
set(CURSYMBOL,ARROW);
set(AXESCLIP,ON);
axes_box(11,16,-0.02,0.632,0.04,0.6335);
tickmarks(YAXES,0.632,0.6325,0.633,0.6335);
tickmarks(XAXES);
ticklabel();
label(LOWER,"Position");
label(LEFT,"Wavelength in !m!m");
text(6.20,22.98,"Mepsicron Calibration");
set(FONTMULT,2);
plotdata(data);
}