Re: legend inside plot w/ grid

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 24 Apr 2006 08:04:32 -0600 (MDT)

Hi Bob,

Assuming you know the value of your grid lines, you can use the
"lgJustification" resource to tell NCL you want to position the legend
based on any edge of the legend box. In your case, it sounds like you
want to position the bottom of your legend box to sit on top of one of
the grid lines. If so, then you can set res@lgJustification =

I'm not sure how you are creating your legend, however, so I'm not
sure how to tell you to position it. If you are using something like
gsn_legend_ndc, then the X,Y position that you provide will now be the
bottom center of your legend box.


On Thu, 20 Apr 2006, Bob Tomas wrote:

> Hello,
> I have an x-y type plot in which I have a legend inside the plot.
> I also have the X&Y grid lines turned on.
> I want the legend (which is inside a box) to sit on top of the grid lines.
> Does anyone have a suggestion on how to go about doing this?
> Thanks
> Bob
> --
> -------------------------------------------------------------
> Robert A. Tomas
> National Center for Atmospheric Research
> Climate and Global Dynamics Division - Paleoclimatology
> 1850 Table Mesa Drive
> Boulder, CO 80305-3000
> e-mail: tel: 303-497-1342 fax: 303-497-1348
> _______________________________________________
> ncl-talk mailing list
ncl-talk mailing list
Received on Mon Apr 24 2006 - 08:04:32 MDT

This archive was generated by hypermail 2.2.0 : Mon Apr 24 2006 - 09:06:30 MDT