[gradsusr] Letter/numbers label variable is small -

Gmail l.alisios at gmail.com
Fri Sep 6 15:28:07 EDT 2019


Hi Jennifer,

He tried something like this, but it doesn't work. :-(


'set clab off'
'set gxout contour'
'set clevs 35 40 45 50 55 60 65 70 75'
'set cstyle 1'
'set cthick 12'
'set ccolor 1'
'd W_UP_MAX*3.6'

'set clab forced'
'set clab masked'
'set clevs 32 42 47 52 57 62 67 72 77'
'set cstyle 1'
'set ccolor 1'
'set clab %.0f`2`1kmh'
'set clopts -1 -1 0.10'
'd W_UP_MAX*3.6'


L. Alvarez
Gargantua Laboratory
Tenerife





When you use ‘masked’ labels, GrADS will not draw the white box behind the label, instead it will mask out the contour
lines where the labels are drawn. The masking guarantees that no labels will overlap, which makes the plots much more readable.
The downside is that you cannot have ‘forced’ and ‘masked’ contour labels in the same plot. The easiest way to achieve what you want
is to use ‘set clevs’ instead of setting a cmin, cmax, and cint. Then you draw your plot twice, once with a specific set of contour
levels and ‘set clab off’ (for contour lines with no labels) and then plot again with the complementary set of contour levels and
‘set clab masked’ (or ‘forced’ if that’s what you prefer).

  --Jennifer



--
Jennifer Miletta Adams
ADNET Systems, Inc.
NASA/GSFC, Code 610.2
Building 32, Room S159
(301) 614-6070


El 6/9/19 a las 18:09, Gmail escribió:
> Hello Jennifer,
>
> Despite defining the minimum and max and (cmin, cmax) the interval (cint) and set with "clskip 1"
> to paint on each line where there is information, it alternately paints the numerical value of the wind.
>
> In other words, GrADS paints for example 8 contours in line format, but only sets the value to 1 or 2.
> I would look for 2 solutions, paint the corresponding value on all lines or paint "only" on the 3 highest values, could this be achieved?
>
>
> 'set clab forced'
> 'set gxout contour'
> 'set cmin 10'
> 'set cmax 80'
> 'set cint 6'
> 'set cstyle 1'
> 'set cthick 12'
> 'set ccolor 1'
> 'set clab %.0f`2`1kmh'
> 'set clopts -1 -1 0.10'
> 'set clab masked'
> 'set clskip 1'
> 'd W_UP_MAX*3.6'
>
>
>
> L. Alvarez
> Gargantua Laboratory
> Tenerife
>
>
>
>
> Use 'set clopts' and 'set clab' and 'set clskip' to control the appearance of contour labels.
> Use 'set xlopts' and 'set ylopts' to control the appearance of axis labels.
>
> -- 
> Jennifer Miletta Adams
> ADNET Systems, Inc.
> NASA/GSFC, Code 610.2
> Building 32, Room S159
> (301) 614-6070
>   
>
> On 9/3/19, 7:38 AM, "gradsusr on behalf of Gmail" <gradsusr-bounces at gradsusr.org  <http://gradsusr.org/mailman/listinfo/gradsusr>  on behalf ofl.alisios at gmail.com  <http://gradsusr.org/mailman/listinfo/gradsusr>> wrote:
>
>      Hello there,
>      
>      I am interested in knowing if it`s possible, increase the letter/numbers
>      that appear when we plot for example a temperature map. The label that
>      puts the value, looks small.
>      
>      
>      L. Alvarez
>      Gargantua Laboratory
>      Tenerife
>      __________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190906/13f129f4/attachment-0001.html>


More information about the gradsusr mailing list