[ncl-talk] How to create a small labelbar close to map

Heiko Klein Heiko.Klein at met.no
Fri Jul 31 00:23:25 MDT 2015


Hi Karin,

this was exactly what I needed. Thanks.

Heiko

On 2015-07-30 12:16, Karin Meier-Fleischer wrote:
> Hi Heiko,
>
> the pm reources will do what you want:
>
> res at pmLabelBarOrthogonalPosF = -0.10 ;-- move complete labelbar upwards
> res at pmLabelBarWidthF         =  0.7 ;-- height of the labelbar
> res at pmLabelBarHeightF        =  0.05    ;-- height of the labelbar
>
> Bye,
> Karin
>
> Am 30.07.15 um 11:47 schrieb Heiko Klein:
>> Hi,
>>
>> I would like to reduce the size of the labelbar with a mapplot
>> (gsn_csm_contour_map) and have the labelbar as close as possible to
>> the map. Later, I will crop all whitespace around the plot and want to
>> have it as small as possible.
>>
>> In the attached file, I managed to reduce the size of the font and the
>> color-boxes of the labelbar using:
>>
>>  res at lbOrientation               ="horizontal"
>>  res at lbJustification             = "topleft"
>>  res at lbBoxMinorExtentF           = .1
>>  res at lbLabelFontHeightF          = .01
>>  res at lbLabelOffsetF              = .01
>>  res at lbTopMarginF                = .0
>>
>>
>> This leaves now a more space between the mapplot and the labelbar. I
>> haven't found a way to reduce the distance between the labelbar and
>> the mapplot.
>>
>> Best regards,
>>
>> Heiko
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

-- 
Dr. Heiko Klein                   Norwegian Meteorological Institute
Tel. + 47 22 96 32 58             P.O. Box 43 Blindern
http://www.met.no                 0313 Oslo NORWAY


More information about the ncl-talk mailing list