This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>From: "Collin Daly" <address@hidden> >Organization: . >Keywords: 199909021423.IAA15620 >Hello, > I am looking for an example of how to plot a surface pressure map >(with High's and Low's plotted) with an overlay of precip. Colin, Here is an example using gdplot for the 24 hour forecast eta pressure and 24 hour accumulated precip: GDFILE Grid file $HDS/1999092012_eta_grid211.gem GDATTIM Grid date/time f024 GLEVEL Grid level 0 GVCORD Grid vertical coordinate none PANEL Panel loc/color/dash/width/regn 0 SKIP Skip_cntr/skip_plt_x;skip_plt_y 0 SCALE Scalar scale / vector scale 0 GFUNC Scalar grid quo(p24m,25.4) ! emsl CTYPE Contour type: C/F f ! c CONTUR Subbox/smooth 3/3 CINT Contour interval/min/max 4 ! 0 LINE Line color/type/width/label 5 FINT Fill interval/min/max .01;.1;.25;.5;.75;1;1.25;1.5;1.75;2;2.25;2.5;2.75;3;3.25;3.5;3.75;4 FLINE Fill colors 0;21-30;14-20;5 HILO Color/symbol/rng/rad/cnt/intp ! 4;2/H;L/1016-1100;800-1008/ HLSYM HILO txt size/posn/font/wdth/hw 3/2/33/2/hw CLRBAR Color/ornt/anch/x;y/ln;wd/freq 31/v/LL/.95;.1 GVECT Vector grid WIND Wind symbol/siz/wdth/typ/hdsz an6 REFVEC Mag;x;y;txtsiz/font/wdth/HW;labl TITLE Title color/line/title 5/-1/~ Surface Pressure, Precip (inches) TEXT Text size/font/width/hw flag t/22/1/hw CLEAR Clear screen flag y GAREA Graphics area uslcc PROJ Map projection/angles/margins|dr lcc MAP Map color/dash/width 31 LATLON Line color/dash/width/label/inc 0 DEVICE Device|name|x size;y size|color xw STNPLT Txc|mkc/mkt/mks/mkwd/hwfl|stnfil SATFIL Satellite image filename(s) $SAT/GINI-W/1km/VIS/VIS_990615_2100 RADFIL Radar image filename(s) LUTFIL Enhancement lookup table filenam default GEMPAK-GDPLOT> >A good >example is the cover of the Unidata Gempak manual. Additioanlly, how do >I plot a bar graph to correspond with a parameter? If there is an >example in you web page please let me know. Gempak does not plot "bar graphs". You can plot a color bar scale as shown in the above example, but if you are refering to a value/bar graph like an excel spreadsheet plot, Gempak is not capable. Gempak can plot line graphs using sfgram, sntser and gdtser- but no bar graphs. Steve CHiswell Unidata User Support >Thanks, >Collin > > >Collin Daly >Meteorological Systems Engineer >Alden Electronics, Inc. >40 Washington Street >Westborough, Ma 01581 >Voice: (508)366-8851x2268 >Fax: (508)898-2427 >e-mail: address@hidden > visit us at: >http://www.alden.com >