[gradsusr] [EXTERNAL] Re: Letter/numbers label variable is small -

Adams, Jennifer M. (GSFC-610.2)[ADNET SYSTEMS INC] jennifer.m.adams at nasa.gov
Fri Sep 6 14:01:07 EDT 2019


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


From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Gmail <l.alisios at gmail.com>
Reply-To: GrADS Users Forum <gradsusr at gradsusr.org>
Date: Friday, September 6, 2019 at 1:18 PM
To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org>
Subject: [EXTERNAL] Re: [gradsusr] Letter/numbers label variable is small -


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<https://urldefense.proofpoint.com/v2/url?u=http-3A__gradsusr.org_mailman_listinfo_gradsusr&d=DwMDaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=M2mFZsxo0ZoztoK2Lyoypu1kKkBVKyEoM9CXGWO42zk&m=HMVOyu2LEfQtuvvjcS_Ejk0Cvyu1b2PfYIdK_G7Fbw4&s=LeBkmpAB7mQQqQu_zN5f1q0xu1y2Lpw-7qaZ7JNzM0s&e=> on behalf of l.alisios at gmail.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__gradsusr.org_mailman_listinfo_gradsusr&d=DwMDaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=M2mFZsxo0ZoztoK2Lyoypu1kKkBVKyEoM9CXGWO42zk&m=HMVOyu2LEfQtuvvjcS_Ejk0Cvyu1b2PfYIdK_G7Fbw4&s=LeBkmpAB7mQQqQu_zN5f1q0xu1y2Lpw-7qaZ7JNzM0s&e=>> 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/5f0c8401/attachment.html>


More information about the gradsusr mailing list