Next: , Previous: Graphit Usage Examples, Up: Graphit



8.2 Graphit Command Line Options

--bargap value
Place each bar within a group value X-units to the left of the previous bar. The default is 0, which means bars will be stacked.


-w value
--barwidth value
Each bar is value X-units.


--bufferwidth value
How much space (in X-units) should be left on both sides of the graph.


-c value
Place caps (text label for each value) value Y-units higher than the errorbar.


-C format
Use format for sprintf when generating the caps (text label for each value).


--components=component(,component)*
Which components should be graphed. Each component turns into a stack within a group of bars or a line for each input (e.g., Elapsed, System, User are the components you can choose from for Getstats output).


--datfile name
The file name of the GNUplot-friendly data file. If datfile is not specified, then a temporary file is used.


--[no]errorbars
Turn error bars on or off. By default errorbars are on if the parser supports it (e.g., getstats). Not all parsers support error bars (e.g., the CSV parser does not).


--filetype (eps|ps|txt|png)
What type of file should we generate. By default this is guessed based on –graphfile.


-f
--font (face,size|size|face)
What font to use for the graph. The default is Helvetica 14.


--gpfile name
The file name of the GNUplot script. If gpfile is not specified, then a temporary file is used.


--graphfile
The file name of the final output. The type of output (eps, png, txt) is guessed based on this filename.


-g
--groupgap value
Each group of bars is value X-units to the left of the previous group.
-h
--help
Print graphit usage.


-k
--key
Where should the key go. This string is passed to GNUplot directly. Some possible values are "off", "top right", "outside", and more. Read the gnuplot help for more information


--mode (bar|line)
If bar is specified, then produce a bar graph, each series produces one stacked bar If line is specified, then produce a line graph, each series produces exactly one line
-n
Do not actually run GNUplot, but perform all other operations. This can be used to create GNUplot scripts and then hand-edit them before running GNUplot.


--offsets argument
Use argument as the offsets command within GNUplot.


-P
--patterns
What patterns to use for GNUplot lines and bars as a comma separated list. The default is "0,4,3".


--startoffset value
Starting X value for the first bar (after the symmetric buffer).


--rotate argument
Rotate X-axis labels by argument. This is useful when they are rather long, and would otherwise overlap.


-S
--size
What size ratio to use. Default 1:1.


--nostack
Clear list of bars to stack.


--stack top/bottom
Stack top over bottom. This option is for bar graphs only. By default User is stacked over System.


--style argument
Use argument as the plotstyle within GNUplot.


--title argument
Set the graph's title to title.


-x argument
Set the minimum X-axis value.


-X argument
Set the maximum X-axis value.


-l argument
--xlabel argument
Use argument as the X-axis label.


--xlogscale argument
Change the X-axis to use a logarithmic instead of linear scale. Argument is used as the base.


--Xparser argument
Pass argument to the parsers.


-y argument
Set the minimum y-axis value to argument.


-Y argument
Set the maximum Y-axis value to argument.


-L argument
--ylabel argument
Use argument as the Y-axis label.


--ylogscale argument
Change the Y-axis to use a logarithmic instead of linear scale. Argument is used as the base.