Program Reference




plot - Data overlay programs


plot [parameters...] filename


Command Line Resource Default Description
-h help No Lists basic help information.
-df=filename default wxp.cfg Sets the name of the resource file.
-na=name name the program name Specifies the name used in resource file parsing.
-me=level message out2 Specifies level of messages to be displayed
-fp=path file_path the current directory Specifies location of database files.
-dp=path data_path the current directory Specifies the location of the input raw data files.
-cp=path con_path the current directory Specifies location of decoded/converted data files
-ip=path image_path the current directory Specifies location of output image files (.gif/,png) from WXP.
-nc=name_conv name_conv name.cnv or name_conv file This sets which name convention file to use.
-if=in_file in_file program specific Specifies the input file name tag.
-cf=filename city_file program specific Specifies the name of the city database file
-mf=filename... map_file wxp.map Specifies the name of the map database file. Multiple maps can be specified along with attributes to describe how to draw the map.
-cu=[hour] current none This specifies to use current data files.
-ho=hour hour none Specifies the exact hour that a data file is valid for.
-id=ident[,ident...] identifier None Specifies a station identifier to plot or parse for
-pd=domain plot_domain program dependent, mostly "us" Sets the plotting domain
-pr=prior stat_prior Plot size dependent Specifies the station priority to use in filtering stations on the plot
-sc=type plot_scale 1.0 Specifies a scaling factor for all plotted text, symbols, vectors, etc.
-fm=format format None Specifies the output format of data.
-pa=param[,param...] parameter none Specifies addition parameters to program.
-dr=value[,value...] draw all Specifies which part of the plot is to be drawn.
-la=type label Program defaults Specifies the labels to be plotted around the plot. By default, labels are generated by the program and plotted above and below the plot. This resource overrides these labels.
-ci=value con_interval 0 Specifies the contour interval to use in contouring grids. This can also be used to color code plotted data and vectors.
-cb=value con_base lowest contour value, max wind speed or 0 depending on application Specifies the base value for color fill contours, and wind speed per grid distance.
-fl=font_file[,font_file...] font_list modern.fnt Specifies a list of fonts to use in the plots.
-ct=color_table color_table wxp.clr Specifies the color table to use in the plot. This maps color names to actual RGB color values.
-col=color[:attribute...] color_label white (black on inverse plots) Specifies the text color for labels above and below the plot.
-cod=color[:attribute...] color_data green (for most programs) Specifies the color for plotted data.
-com=color[:attribute...] color_map red (for most programs) Specifies the color for background maps.
-coll=color[:attribute...] color_latlon magenta:st=dsh Specifies the color for lat/lon lines.
-cofm=color[:attribute...] color_fmap black Specfies the map color for color fill plots.
-coco=color[:attribute...] color_cont white (black on inverse plots) Specifies color for line contours
color_fill magenta, lmagenta, blue, lblue, cyan, lcyan, green, lgreen, brown, yellow, red, lred, dgray, lgray, white Specifies the colors in the color fill contours.
-cocl=color[:attribute...] color_clabel white (black on inverse plots) Specifies color for line contour labels.
-cofl=color[:attribute...] color_flabel black Specifies color for color fill contour labels
-de=device[,parameters] device d for display Specifies the output device.
-ti=title title The name of the program or the value of the name resource Specifies the window title.
-ic icon off Specifies whether to open window in iconified mode.
-bg=color background black Specifies the background color of the window.
-ge=widthxheight[+x+y] geometry 640x512 (for windowed plots) Specifies the window and paper geometry.
filename (positional) filename none Specify input filename


This program is used to overlay various WXP products


This plots a map for the midwest region.

   mapplt -dr=text ul:left_label lr:right_label

This labels a plot. If the labels contain spaces, they either have to be quoted or underscores can be used.

   mapplt -re=31,-40,3 /data/hurricane/1997/ERIKA/track.raw-LINE

This plots the LINE field from the hurricane Erika track file.  The region is selected to encompass the entire track.



Last updated November 2013