Command line switches

This page contains a summary of command-line switches for ctioga2. Every single of the switches corresponds to one of ctioga2’s commands. This page is automatically generated from the inline documentation of ctioga2.

Plots
--plot DATASET Plots the given datasets
-p --plot-last Plots the last dataset pushed onto the stack
Curves styles
--[no-]clipped Sets the clipped for subsequent curves
-c --color COLOR-OR-FALSE-OR-AUTO Sets the line color for subsequent curves
--color-map COLORMAP-OR-AUTO Sets the color map for subsequent curves
--color-set COLOR-OR-FALSE-SET Chooses a set for the line color of subsequent curves
--[no-]contour-conrec Sets the use CONREC for contouring for subsequent curves
--contour-minor-number INTEGER-OR-AUTO Sets the number of minor level lines between major ones (approx) for subsequent curves
--contour-minor-scale FLOAT-OR-AUTO Sets the relative scale of minor level lines for subsequent curves
--contour-minor-style LINE-STYLE-OR-AUTO Sets the minor ticks line style for subsequent curves
--contour-number INTEGER-OR-AUTO Sets the overall number of level lines for subsequent curves
--depth INTEGER-OR-AUTO Sets the depth for subsequent curves
--error-bar-color COLOR-OR-FALSE-OR-AUTO Sets the error bar color for subsequent curves
--error-bar-color-set COLOR-OR-FALSE-SET Chooses a set for the error bar color of subsequent curves
--error-bar-line-width FLOAT-OR-AUTO Sets the error bar line width for subsequent curves
--error-bar-line-width-set FLOAT-SET Chooses a set for the error bar line width of subsequent curves
--fill FILL-UNTIL-OR-AUTO Sets the Fill until for subsequent curves
--fill-color COLOR-OR-AUTO Sets the fill color for subsequent curves
--fill-color-set COLOR-SET Chooses a set for the fill color of subsequent curves
--fill-pattern FILL-PATTERN-OR-AUTO Sets the fill pattern for subsequent curves
--fill-set FILL-UNTIL-SET Chooses a set for the Fill until of subsequent curves
--fill-transparency FLOAT-OR-AUTO Sets the fill transparency for subsequent curves
--fill-transparency-set FLOAT-SET Chooses a set for the fill transparency of subsequent curves
--line-cap LINE-CAP-OR-AUTO Sets the line cap for subsequent curves
--line-style LINE-STYLE-OR-AUTO Sets the line style for subsequent curves
--line-style-set LINE-STYLE-SET Chooses a set for the line style of subsequent curves
--line-width FLOAT-OR-AUTO Sets the line width for subsequent curves
--line-width-set FLOAT-SET Chooses a set for the line width of subsequent curves
-m --marker MARKER-OR-AUTO Sets the marker for subsequent curves
--marker-angle FLOAT-OR-AUTO Sets the marker angle for subsequent curves
--marker-color COLOR-OR-FALSE-OR-AUTO Sets the marker color for subsequent curves
--marker-color-map COLORMAP-OR-AUTO Sets the color map for markers for subsequent curves
--marker-color-set COLOR-OR-FALSE-SET Chooses a set for the marker color of subsequent curves
--marker-fill-color COLOR-OR-FALSE-OR-AUTO Sets the marker fill color for subsequent curves
--marker-fill-color-map COLORMAP-OR-AUTO Sets the color map for the lines of markers for subsequent curves
--marker-fill-color-set COLOR-OR-FALSE-SET Chooses a set for the marker fill color of subsequent curves
--marker-line-color COLOR-OR-FALSE-OR-AUTO Sets the marker stroke color for subsequent curves
--marker-line-color-map COLORMAP-OR-AUTO Sets the color map for the lines of markers for subsequent curves
--marker-line-color-set COLOR-OR-FALSE-SET Chooses a set for the marker stroke color of subsequent curves
--marker-line-width FLOAT-OR-AUTO Sets the marker line width for subsequent curves
--marker-min-scale FLOAT-OR-FALSE-OR-AUTO Sets the marker scale for subsequent curves
--marker-scale FLOAT-OR-AUTO Sets the marker scale for subsequent curves
--marker-scale-set FLOAT-SET Chooses a set for the marker scale of subsequent curves
--marker-set MARKER-SET Chooses a set for the marker of subsequent curves
--path-style TEXT-OR-AUTO Sets the path style for subsequent curves
--path-style-set TEXT-SET Chooses a set for the path style of subsequent curves
--region-side REGION-SIDE-OR-AUTO Sets the region side for subsequent curves
--region-side-set REGION-SIDE-SET Chooses a set for the region side of subsequent curves
--reuse-style OBJECT Reuse the style of a previous curve
--skip Skips next curve style
--[no-]split-on-nan Sets the split on NaN for subsequent curves
--zaxis TEXT-OR-AUTO Sets the name for the Z axis for subsequent curves
Legends
--[no-]auto-legend Automatically give legends to datasets
-l --legend TEXT Sets the legend for the next dataset
--legend-inside ALIGNED-POINT Draw legends inside the current plot
--legend-line TEXT Adds a pure text line to the legend
--legend-multicol Lay out legends in several columns
--legend-multicol-end End of multicolumn legends
--legend-style Set the style of the legends
Switch between different kinds of plots
--contour select contour plots
--histogram select histogram plots
--xy-parametric select XY parametric plots
--xy-plot select XY plots
--xyz-map select XYZ maps
Plot coordinates
--margin FLOAT Leaves a margin around data points
--xfact FLOAT Alias for xscale
--[no-]xlog Use log scale for X
--xoffset FLOAT Offset X data
--xrange PARTIAL-FLOAT-RANGE Sets the X range
--xscale FLOAT Scale X data
--yfact FLOAT Alias for yscale
--[no-]ylog Use log scale for Y
--yoffset FLOAT Offset Y data
--yrange PARTIAL-FLOAT-RANGE Sets the Y range
--yscale FLOAT Scale Y data
Graphics primitives
--draw DRAWING-SPEC Draws graphics primitives
--draw-arrow POINT POINT Draws arrow
--draw-box POINT POINT Draws box
--draw-color-list POINT DIMENSION Draws the list of all named colors
--draw-color-set-list POINT DIMENSION Draws the list of all color sets
--draw-contour LEVEL Draws contour
--draw-image FILE TOP-LEFT BOTTOM-RIGHT Draws image
--draw-legend-pictogram POINT OBJECT Draws legend-pictogram
--draw-line POINT POINT Draws line
--draw-line-style-list POINT DIMENSION Draws the list of all named line styles
--draw-marker POINT MARKER Draws marker
--draw-marker-list POINT DIMENSION Draws the list of all named markers
--draw-marker-set-list POINT DIMENSION Draws the list of all marker sets
--draw-oriented-line POINT DIMENSION Draws oriented-line
--draw-string-marker POINT TEXT Draws marker
--draw-tangent DATA-POINT Draws tangent
--draw-text POINT TEXT Draws text
The 'direct' backend: Direct format
--direct Selects the '{backend: direct}' backend
The 'gnuplot' backend: Gnuplot files
--gnuplot Selects the '{backend: gnuplot}' backend
--gnuplot-range RANGE Set the Plotting X range parameter of backend 'gnuplot'
--gnuplot-samples SAMPLES Set the The number of samples parameter of backend 'gnuplot'
--gnuplot-vars VARS Set the Variable overrides parameter of backend 'gnuplot'
The 'math' backend: Mathematical functions
--math Selects the '{backend: math}' backend
--[no-]math-log Set the Logarithmic scale parameter of backend 'math'
--math-samples SAMPLES Set the Samples parameter of backend 'math'
--math-trange TRANGE Set the T Range parameter of backend 'math'
--math-xrange XRANGE Set the X Range parameter of backend 'math'
The 'smath' backend: Mathematical functions (multi-D)
--smath Selects the '{backend: smath}' backend
--smath-samples SAMPLES Set the Sample number parameter of backend 'smath'
--smath-urange URANGE Set the U Range parameter of backend 'smath'
--smath-usamples USAMPLES Set the U samples parameter of backend 'smath'
--smath-vrange VRANGE Set the V Range parameter of backend 'smath'
--smath-vsamples VSAMPLES Set the V samples parameter of backend 'smath'
The 'text' backend: Text format
--csv reads CSV files
--text Selects the '{backend: text}' backend
--text-col COL Set the Default column specification parameter of backend 'text'
--text-header-line HEADER-LINE Set the Header line regular expression parameter of backend 'text'
--text-parameters PARAMETERS Set the Parameters parsing parameter of backend 'text'
--text-separator SEPARATOR Set the Data columns separator parameter of backend 'text'
--text-skip SKIP Set the Skip lines parameter of backend 'text'
--[no-]text-split Set the Split into subsets parameter of backend 'text'
LaTeX
--preamble TEXT Adds a string to the LaTeX preamble
--set-global-font Set global font details
--use TEXT Includes a LaTeX package
--utf8 Uses UTF-8 in strings
Subplots and assimilated
--end Leaves the current subobject
--frame-margins FRAME-MARGINS Sets the margins of the current plot
--gradient COLOR COLOR Use a color gradient for all curves until --end
--hide OBJECTS Hides named objects
--inset BOX Begins a new inset
--next-inset BOX Ends the previous inset and begins a new one
--padding DIMENSION Sets the padding for the current plot
--plot-scale FLOAT Rescales the current (sub)plot
--region Starts a region with filling between curves
--reopen OBJECT Reopens a previously finished object
--root-plot Begin root plot
--setup-grid TEXT Setup grid for insets
--text-adjust-mode TEXT-ADJUST-MODE Enables or disables the automatic detection of text size
Axes and labels
--axis-style AXIS Sets the style of the given axis
--background-grid COLOR-OR-FALSE Sets the color of the background lines
--background-lines AXIS COLOR-OR-FALSE Sets the color of the background lines
--bottom AXIS-DECORATION Sets the type of the bottom axis
--clear-axes Clear all axes
--drawing-frame Setup a drawing frame
--label-style LABEL Sets the style of the given label
--left AXIS-DECORATION Sets the type of the left axis
--new-zaxis TEXT Creates a Z axis
--no-title Disables title for the plot
--no-xlabel Disables X label for the plot
--no-ylabel Disables Y label for the plot
--right AXIS-DECORATION Sets the type of the right axis
--ticks AXIS Sets the ticks of the given axis
-t --title TEXT Sets the title of the plot
--top AXIS-DECORATION Sets the type of the top axis
--x2 Switches to top axis for subsequent curves
--xaxis AXIS Sets default X axis for the plot
-x --xlabel TEXT Sets the X label of the plot
--y2 Switches to right axis for subsequent curves
--yaxis AXIS Sets default Y axis for the plot
-y --ylabel TEXT Sets the Y label of the plot
Background
--background COLOR-OR-FALSE Background color for the plot
--watermark TEXT Sets a watermark for the current plot
Default styles
--define-arrow-style TEXT Sets the default style for the given arrows.
--define-axis-style TEXT Sets the default style for the given axis.
--define-background-style TEXT Sets the default style for the given plot background.
--define-box-style TEXT Sets the default style for the given boxes.
--define-curve-style TEXT Sets the default style for the given plot background.
--define-image-style TEXT Sets the default style for the given image.
--define-legend-style TEXT Sets the default style for the given legend.
--define-line-style TEXT Sets the default style for the given lines.
--define-marker-style TEXT Sets the default style for the given marker.
--define-oriented-line-style TEXT Sets the default style for the given oriented lines.
--define-style TEXT Defines style for the given xpath
--define-text-style TEXT Sets the default style for the given text.
--define-title-style TEXT Sets the default style for the given plot title.
--load-style FILE Load a style file
Output setup
--[no-]clean Remove intermediate files
--[no-]cleanup-pdf Cleanup produced PDF using gs
--dependencies FILE Save dependencies
--[no-]eps Converts produced PDF to EPS using pdftops
--[no-]mark Fills the title of the produced PDF with the command-line
-n --name FIGURE_NAME Sets the name of the figure
--open Uses open to view the produced PDF files
-o --output FIGURE_NAME Outputs the current state of the figure
--output-and-reset Writes the current figure and starts anew
-O --output-directory TEXT Sets the output directory for produced files
-r --page-size TEXT Sets the page size
--png RESOLUTION Converts produced PDF to PNG using convert
--resolution FLOAT Sets the output resolution
--[no-]svg Converts produced PDF to SVG using pdf2svg
--viewer TEXT Uses the given viewer to view the produced PDF files
-X --xpdf Uses xpdf to view the produced PDF files
Data stack manipulation
--append DATASET Appends the datasets to the last in the stack
--apply-formula TEXT Applies a formula to the last dataset
--bin Bins the last dataset
--compute-contour FLOAT computes the contour and push it to data stack
--dataset-hook COMMANDS Sets the dataset hook
--dataset-hook-add COMMANDS Adds commands to the dataset hook
--dataset-hook-clear Clears the dataset hook
--drop STORED-DATASET Drops the given dataset from the stack
-j --join-datasets Concatenates the last datasets on the stack
-L --load DATASET Load given sets onto the data stack
--make-contour FLOAT Pushes a contour on the data stack
--merge-datasets Merge datasets based on X column
-P --print-dataset Prints the dataset last pushed on the stack
--show-stack Displays the content of the stack
--xy-reglin ....
Introspection
--edit-command TEXT Edit the command
--edit-group TEXT Edit the group
--edit-type TEXT Edit the type
--list-commands List known commands
--list-groups List known groups
--list-styles List stylistic information
--list-types List known types
--version-raw Raw version
Filters
--avg-dup Systematicallly average successive elements with identical X values
--avg-dup-last Average successive elements with identical X values
--cherry-pick TEXT Systematicallly remove data for which the formula is false
--cherry-pick-last TEXT Removes data from the last dataset for which the formula is false
--smooth INTEGER Systematicallly smooth data
--smooth-last INTEGER Smooths data using a gaussian filter
--sort Systematically sort subsequent datasets
--sort-last Sorts the last dataset according to X values
--trim INTEGER Systematically trim subsequent datasets
--trim-last INTEGER Only keeps every n points in the last dataset
General commands
--debug Makes ctioga2 write out debugging information
--echo Prints command-line used to standard error
-e --eval COMMANDS Runs the given commands
-f --file FILE Runs given command file
-h --help Prints help on command-line options and exits
--help-on TEXT Prints help text about the given command
--[no-]pause Pause on errors
--print-instructions Prints the list of all the instructions run so far
--ruby-run FILE Run as Ruby code
--set TEXT TEXT Sets the value of a variable
-v --verbose Makes ctioga2 more verbose
-V --version Prints the version

Generated for ctioga2 version: 0.14.1

Latest news

ctioga2 version 0.14.1 is out

Release 0.14.1 of ctioga2 fixes a crash at startup with Ruby 2.3