Chapter 3 INTRODUCTION

TOPDRAWER is fairly easy to use if you confine yourself to simple plots. First invoke TOPDRAWER by typing: $ TOPDRAWER You are then prompted: TD: You first enter your data as a set of X,Y,DX,DY values. The DX,DY may be omitted if no error bars are needed. Each data point is specified on a separate line. For example a line going from 0,0 to 1,1 is specified as: TD:0,0 TD:1,1 Then the data may be plotted as a set of points with error bars (if DX,DY are not zero) by typing the command: TD:PLOT If you wish to produce a histogram use the command: TD:HISTOGRAM On the other hand if you wish to plot a smooth curve type: TD:JOIN For series of straight lines connecting the points: TD:JOIN 1 (1 segment per interval) To put a title at the top: TD:TITLE TOP 'This is my title' To put a title at the bottom: TD:TITLE BOTTOM 'This is the X axis' To put a title on the left: TD:TITLE LEFT 'This is the Y axis' If you are done, you then type: TD:EXIT Now you liked the plot, but you wish to change a few things. The commands mistakes you made. You also should rename it: $ RENAME TD.TDJ MYPLOT.TOP and invoke TOPDRAWER again. Now instead of typing all the commands in, just type: $ SET FILE IN 'MYPLOT' TOPDRAWER will re-execute the commands in the file. Now you wish to get the plots out on the Postscript printer. so you type: TD:SET DEVICE POSTSCR Then replot the data by typing: TD:SET FILE IN 'MYPLOT' Finally type: TD:EXIT Now the plot is printed on the Talaris by: $ PRINT MYPLOT.PS More plots may be added to the first plot by entering more data, and then either PLOT, HISTOGRAM, or JOIN. Each command may be modified by extra commands to make the plot more pleasing. For example if you type: TD:HISTOGRAM DOTS RED Then the histogram will be formed with red dotted lines. This is useful to differentiate it from other previously plotted histograms.