# THIS COMMAND FILE IS FOR FPLOT Version 2.35/2.36 # this file contains every supported command, it can be # used as a template for new fplot command files # comments begin with a #, blank lines are treated as comments also # any text after a '#' on a line is a comment # commands may be uppercase or lowercase # field delimiters may be tabs, spaces, or commas (or all 3) # and text entries (i.e. set title ...) must be in double quotes reset defaults # reset to start up stuff # using this will reset -t, -x, -y # options when used on the command line set papersize 8.5, 11.0 # set width, length (8.5x11 is the default) set graphborders .5 1.3 .8 2 # left, top, right, bottom in inches set graphborders 1 1 1 1 # default (1 inch borders on all 4 sides) set xrange -10 3 # specify the range you want for each axis set yrange -10 3 set y1range -10 3 # you can use either yrange or y1range set y2range -10 3 set xrange auto # autoranging is the default set yrange auto set y1range auto # y1... and y... commands are synonyms set y2range auto set y2range y1range # force Y2 to have the same range as Y1 # the default is to have separate Y1 & Y2 # ranges when plotting 2 ranges. If plotting # 3 or more ranges, this command is implied. set gridlines off set gridlines ticks # small tick mark near the numbers set gridlines on # default set xaxisscale log # x axis will be log scale set xaxisscale linear # default set xmultiplier 1.0 # rescale any axis as desired set ymultiplier 1.0 set y1multiplier 1.0 # default multipliers are 1.0 set y2multiplier 1.0 set xoffset 0.0 # default offsets are 0.0 set yoffset 0.0 set y1offset 0.0 set y2offset 0.0 set graphtype points # only draw 'points' set graphtype lines # 'lines' is the default set graphtype linesandpoints # draw lines and points set pointsizescale 0.5 # adjust size of 'points', < 1.0 = smaller set pointsizescale 1.2 # adjust size of 'points', > 1.0 = larger set pointsizescale 1.0 # default # set outputformat hpgl2 # only postscript supported now # set outputformat epsonlq # set outputformat epsonfx set outputformat postscript set skipfactor 50 # plot every 51st data point (plot 1, # skip 50, plot 1, skip 50, etc) # set skipfactor 0 # default # # set fontsize title 14.0 # floating point is allowed! set fontsize xlabel 14.0 set fontsize ylabel 14.0 # the 4 major labels default to 14 point set fontsize y1label 14.0 # y & y1 are the same set fontsize y2label 14.0 # # # the defaults for these 4 labels are off # set title "=== Graph Title ===" set xlabel "+++ X Axis Label +++" set ylabel "Y Axis Label" # set y1label "Y1 Axis Label" # set y2label "((( Y2 Axis Label )))" # # you can specify a label position using 2 coordinate # systems: # # 1) in 'inches', as in previous releases of fplot (see below) # # 2) in 'plot-coordinates', the label placement will use # the graphs coordinate system. # # set each label's coordinate system independently or # specify them all with the 'labelall' command # # the default is all labels in inches set coordinates LABEL001 inches set coordinates LABEL2 plotcoordinates set coordinates label128 inches set coordinates labelall plotcoordinates set COORDINATES LABELALL INCHES # # there are 128 labels you can position anywhere # on the page. # # IF USING 'INCHES' as your coordinate system (see above): # # the first number is horizontal inches from the # left edge of the page. 'center' or 'rightjustify' # may also be used for the first number. # # note that 'center' and 'rightjustify' assume a 0 # degree rotation angle. # # the second number is vertical inches from the bottom of the page. # # # IF USING 'PLOTCOORDINATES' as your coordinate system (see above): # # the first number is scaled to the 'X' axis scaling of the plot # being generated. # # the second number is scaled to the 'Y' axis scaling of the plot # being generated. The first Y range (y1range) is used for the # label coordinates. # # the defaults are all labels off. # # $$$ may be from 1-128 (001-128 will also work) # set label$$$ rightjustify, 8.20, "label text" # set label128 rightjustify, 8.20, "M. Ring 2-10-2002" # set label26 5.7, 2.4, "Extra label 26 at 5.7, 2.4" # set label73 4.7, 6.4, "Extra label 73 at 4.7, 6.4" # set label49 3.7, 7.4, "Extra label 49 at 3.7, 7.4" # set label15 2.7, 5.4, "Extra label 15 at 2.7, 5.4" # set label65 center, 2.4, "Center label 65 at 2.4" set fontsize label097 13 set label097 center, 7.7, "Second Title Line Using Label 97" # set label78 rightjustify, 0.6, "Right Justify label 78 at 0.6" # # the 128 labels (from above) may have individual # font sizes and rotation angles. # # the default font size is 10 point # # the default rotation is 0 deg (parallel to the X-axis on the plot) # # positive rotation is counter-clockwise # negative rotation is clockwise # # set fontsize label1 10.0 # floating point allowed! set fontsize label2 10.0 set fontsize label3 10.0 # these 128 labels default to 10 point font # set fontsize label1-128 10.0 set fontsize label128 10.0 set fontsize labelall 7.0 # set ALL 128 labels at once set fontsize labelall 10.0 set rotation label1 0.0 # the rotation angle defaults to 0 deg set rotation label2 0.0 # set rotation label1-128 0.0 set rotation label128 0.0 set rotation labelall 90.0 # set ALL 128 labels at once set rotation labelall 0.0 # tell in which fields to look for the data # if no fields are specified, fplot will # determine the field usage based on the following: # # 1 field of data found, Plot a single Y axis # 2 fields , Plot an X,Y data pair # 3 fields , Field 1 is X, Fields 2,3 is Y1,Y2 # 4 fields , Field 1 is X, Fields 2,3,4 is Y1,Y2,Y3 # 5 fields , Field 1 is X, Fields 2,3,4,5 is Y1,Y2,Y3,Y4 # etc ... # 13 fields , Field 1 is X, Fields 2-13 are Y1-Y12 # # the defaults are all field 0. # # set fielddefinition x,1 # set fielddefinition y,2 # set fielddefinition y1,2 # set fielddefinition y2,3 # set fielddefinition y3,4 # set fielddefinition y4,5 # set fielddefinition y5,0 # set fielddefinition y6,0 # set fielddefinition y7,0 # set fielddefinition y8,0 # set fielddefinition y9,0 # set fielddefinition y10,0 # set fielddefinition y11,0 # set fielddefinition y12,0 # set outputfile "/tmp/data.ps" # set outputfile "C:\tmp\data.ps" # set outputfile "data.ps" # default is stdout # # if you have a data file with many, many points # in it, but you only care about samples 100 through # 200, you can specify to only use this small range. # # the default is to use all the data points # # set usesamples 100, 200 # # # the 'data' command allows you to embed your data # in the command file. put the data between the # commands 'data start' and 'data stop'. when # data stop ===OR=== end of file is found, the plot # will be generated. 'data stop' is only necessary # if you want to continue with additional plots # in the same command file. # # a blank line (or just a comment line) in the data # stream is now interpreted to mean a 'line break'. # the current line segment is completed and then a # new line segment will be generated starting with # the first data line after the line break. # # this is useful for (1) drawing maps and (2) it gives # the operator an infinite number of possible Y ranges. data start 3.0 3.8 8.3 3.075 4.7 0.965E+1 3.2 1.2 5.3 3.32 0.9 4.7 3.4 -3.2 5.2 3.53 -1.8 3.52 # line break here 3.6 -6.7 7.3E-1 3.717 -4.36 3.72 3.8 -9.1 -4.21 3.875 -5.8 -.11 4.0 -6.5 -2.5 data stop # # plot the data in 'datafile.in' # # plot "datafile.in" # filename where the data is # #