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.
Christian, The problem with the 16 degree contour overlaying the other "every 4 degrees contour" is your CINT setting: CINT = 16;999 Since you only want to draw a single contour that matches your 4 degree contours but with the thicker line width, you can use: CINT = 4/16/16 (the min and max of the same value above will limit to a single contour, instead of your above, which is actually 2 contour values). Note that you can do all three of your plots simultaneously in GDPLOT2 which might save you some time if you have a number of grids or times to read, eg: CTYPE = f ! c ! c LINE = ! 1/2/4 ! 1/2/8 CINT = ! 4 ! 4/16/16 Steve Chiswell Unidata User Support On Wed, 2006-08-23 at 12:17 +0200, Christian Pagé wrote: > Hello all, > > I am trying to generate some plots with contour colored fills. > However, I need also to have some specific contours with a different > thickness of the contour line. FINT and FLINE doesn't allow the line > width to be specified for specific contours. > > The solution I found was to superimpose contours using a different line width > using CINT and LINE for the same field. > However, the contours don't match exactly... > > Here are the relevant options given to gdcntr (where colors have been > redefined with gpcolors) : > SCALE = 0 > HILO = > HLSYM = > LATLON = 0 > CONTUR = 3/1 > CTYPE = F > FLINE = 4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25/1 > FINT = -32;-28;-24;-20;-16;-12;-8;-4;0;4;8;12;16;20;24;28;32;36;40;44 > CLRBAR = 1//CL/.005;.5/.75;.01|1/2/111/221/l/hw > run > > CINT = 4 > LINE = 1 / 2 / 4 > run > > CINT = 16;999 > LINE = 1 / 2 / 8 > run > > exit > > I thus get an image like this one: > http://meteocentre.com/analyse/local/eur_850_tpw.gif > > where we can see that the lines don't match exactly, due to some > smoothing which is not the same. > Using CONTUR = 0 did not solve the problem either, and the plots > looked uglier... > > Any solution? > > -- > Christian Pagé > UQAM -- Steve Chiswell <address@hidden> Unidata