Re: How to set the distance among legend so that they do not overlap

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu May 02 2013 - 06:35:49 MDT

Change
   res@pmLegendHeightF = 0.08
To a larger number

and/or res@lgLabelFontHeightF = .012

to a smaller number.

You will have to experiment

On 5/1/13 10:41 PM, juki juki wrote:
> Hi all ncl users..
>
> Thanks for your help and nice discussion so far. I have plotted my data to XY plot with 16 legends. The problem is that the legends overlap each other. How to overcome such problem ? The following is simple ncl code to control my current legend:
>
> res@pmLegendDisplayMode = "Always" ; turn on legend
> res@pmLegendSide = "Top" ; Change location of
> res@pmLegendParallelPosF = .6 ; move units right
> res@pmLegendOrthogonalPosF = -0.25 ; move units down
> res@pmLegendWidthF = 0.06 ; Change width and
> res@pmLegendHeightF = 0.08 ; height of legend.
> res@lgPerimOn = False ; turn off box around
> res@lgLabelFontHeightF = .012 ; label font height
>
> Thank you.
> joeky
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu May 2 06:35:37 2013

This archive was generated by hypermail 2.1.8 : Thu May 02 2013 - 11:16:44 MDT