AXES Example

10    KEY LABELS OFF
20    CLEAR SCREEN
30    AXES
40    PRINT "Default Axes"
50    Holdit
60    AXES 5
70    PRINT "Ticks on X axes"
80    Holdit
90    AXES 5,5              !X,Y tick spacing.
100  PRINT "with 5,5 tick spacing"
110  Holdit
120  AXES 5,5,20
130  PRINT "X origin at 20"
140  Holdit
150  AXES 5,5,20,20         !20,20 is the X,Y origin of axis on the screen.
160  PRINT "X and Y Origins at 20,20"
170  Holdit
180  AXES 2,5,20,20,5
19   PRINT "X tick spacing 2 Y tick spacing 5, Origin at 20,20 major tick size 5"
200  Holdit
210  AXES 2,2,20,20,5,5     !5,5 is the spacing of major ticks on X and Y axis.
220  PRINT "5,5 major tick spacing"
230  Holdit
240  AXES 2,2,20,20,5,5,2   !2 is the size of major ticks.
250  PRINT "Major tick size of 2"
260  KEY LABELS ON
270  END
280  SUB Holdit
290    PRINT TABXY(50,50);"Press Continue"
300    PAUSE
310    CLEAR SCREEN
320    DISP
330  SUBEND