13.07.2015 Views

Download pdf guide - VSN International

Download pdf guide - VSN International

Download pdf guide - VSN International

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.8 Custom output and captions 4513.00 5.30 E no9.00 10.30 SW no24.00 13.30 S yes19.00 7.00 E yes14.00 20.50 NE yes28.00 17.50 NE no20.00 14.80 NW yes43.00 18.50 NW no20.00 8.30 N no25.00 0.50 N no1.00 7.80 NW yes16.00 3.50 E no31.00 4.50 NW no38.00 3.70 SE yes11.00 8.00 W no5.00 11.50 SW yes5.00 5.80 S yes4.00 14.80 SW no14.00 13.30 S yes3.00 10.80 S yes3.00 15.00 SW yes7.00 17.20 SW yes2.00 12.00 SW no2.00 18.00 SW yesAs you can see, the sulphur figures are exact integers, and the wind speeds have beenrecorded to only one decimal place. So it might have been more sensible to putPRINT Sulphur,Windsp,Winddir,Rain; DECIMALS=0,1,*,*to remove the unnecessary trailing zeros. DECIMALS is ignored when textual values, likethe factor labels, are being printed. So we could have specified anything for the third andfourth items of the list.Notice that factor labels are printed by default when these are available. You can printlevels instead by setting the FREPRESENTATION parameter. This would print levels forWinddir, and labels for RainPRINT Sulphur,Windsp,Winddir,Rain; DECIMALS=0,1,*,*;\FREPRESENTATION=*,*,levels,labelsFREPRESENTATION also has a setting ordinals, which produces the ordinal levelnumbers 1, 2 etc. FREPRESENTATION is ignored for variates, so we could equally wellhave typed levels, labels or ordinals for the first two elements of the list.This describes only a few of the parameters of PRINT. A full description, with manyexamples, is in Sections 3.2.1 and 3.2.2 of the Guide to the GenStat Command Language,Part 1 Syntax and Data Management.It might seem that a good way of producing a caption, for example Next analysis,would be to put to display the string 'Next analysis' using PRINT i.e.PRINT 'Next analysis'A better way, though, is to use the CAPTION directive, which reproduces the samecaption styles that are used by the standard GenStat directives. The contents of thecaption are supplied by the first parameter, TEXT. The STYLE parameter specifies a stringto indicate the caption style:plaintextordinary text,stresstext to be emphasized,minora minor caption signifying a sub-section in theoutput,majora major caption signifying a section in the output,metaa meta-caption to group several sections of output,notea "note" to the user, andstatusa "status" message.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!