Home| superdarn |src.bin|tk|plot| vec_plot Index

vec_plot

Syntax
vec_plot --help
vec_plot [options] names...
vec_plot -png [options] names...
vec_plot -ps [-xp xoff] [-yp yoff] [options] names...
vec_plot -ppm [options] names...
vec_plot -ppmx [options] names...
vec_plot -xml [options] names...
vec_plot -x [-display display] [-xoff xoff] [-yoff yoff] [options] names..
Synopsis

Plot vec format files.

Options
--helpprint the help message and exit.
--versionprint the RST version number and exit.
-old_aacgmuse older AACGM rather than default AACGM-v2 for magnetic coordinates..
-cf cfnameread command line options from the file cfname.
-wdt widthset the width of the plot to width.
-logoadd a credit and logo to the plot.
-p panelset the number of panels in the plot to panel.
-bgcol aarrggbbset the background color to aarrggbb, specified as the hexadecimal value for the 32-bit alpha,red,green and blue component color.
-txtcol aarrggbbset the color of the text to aarrggbb, specified as the hexadecimal value for the 32-bit alpha,red,green and blue component color.
-grdcol aarrggbbset the color of the grid to aarrggbb, specified as the hexadecimal value for the 32-bit alpha,red,green and blue component color.
name...the filenames of the vec format files to plot.
-pngproduce a Portable Network Graphics (PNG) image as the output.
-psproduce a PostScript plot as the output.
-xp xoffset the X offset of the PostScript plot to xoff.
-yp xoffset the Y offset of the PostScript plot to yoff.
-ppmproduce a Portable PixMap (PPM) image as the output.
-ppmxproduce an extended Portable PixMap (PPMX) image as the output.
-xmlproduce an XML image representation as the output.
-xplot the data on an X-terminal.
-display displayconnect to the xterminal named display.
-xoff xoffopen the window, xoff pixels from the left edge of the screen.
-yoff yoffopen the window ypad pixels from the top edge of the screen.
Description

Plot vec format files.

The output can be to an X terminal, XML rplot file, Portable PixMap (PPM) file, extended Portable PixMap (PPMX) file, Portable Network Graphics (PNG), or PostScript file. The default output is PostScript. The output file is written to standard output.

The program will attempt to calculate the number of panels to include in the plot based on the number of input files. However this behavior can be overridden using the "-p" option.

The number and complexity of the command line options makes typing them a laborious process, especially when producing multiple plots. To solve this problem, command line options can be placed in plain text file that can be parsed by the program using the " -cf" option. This allows the user to create a set of configuration files for producing different plots.

Examples
vec_plot -x 20021106*.vec

Plot all the vec format files that match the pattern 20021106*.vec".

vec_plot -logo 20041106*.vec > vec.rp.xml

Generate an rPlot XML plot of all the vec format files that match the pattern 20041106*.vec".