Thank you Dennis. after several trials the legend seems good by changing  res_at_pmLegendHeightF = 0.27
Thanks again
joeky
 
From: Dennis Shea <shea_at_ucar.edu>
To: juki juki <juky_emc2_at_yahoo.com> 
Cc: ncl-talk <ncl-talk_at_ucar.edu> 
Sent: Thursday, May 2, 2013 9:35 PM
Subject: Re: [ncl-talk] How to set the distance among legend so that they do not overlap
 
Change
  res_at_pmLegendHeightF = 0.08
To a larger number
and/or res_at_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_at_pmLegendDisplayMode    = "Always"            ; turn on legend
>    res_at_pmLegendSide           = "Top"               ; Change location of
>    res_at_pmLegendParallelPosF   = .6                  ; move units right
>    res_at_pmLegendOrthogonalPosF = -0.25                ; move units down
>    res_at_pmLegendWidthF         = 0.06                ; Change width and
>    res_at_pmLegendHeightF        = 0.08                ; height of legend.
>    res_at_lgPerimOn              = False               ; turn off box around
>    res_at_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 14:22:29 2013
This archive was generated by hypermail 2.1.8 : Tue May 07 2013 - 08:38:33 MDT