Re: Legend Format

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Nov 06 2009 - 15:13:08 MST

Regarding your marker question, if I understand it. If you create
your own markers, you can rotate them.

See the "angle" option in NhlNewMarker:

http://www.ncl.ucar.edu/Document/Functions/Built-in/NhlNewMarker.shtml

I just modified one of our scatter examples to show this. See example
2 at:

http://www.ncl.ucar.edu/Applications/scatter.shtml

--Mary

On Nov 6, 2009, at 11:42 AM, Brandon Fisel wrote:

> Hi Adam,
>
> Thank you for your reply! Example 7 was the option I was hoping to
> avoid here, strictly out of convenience.
>
> I performed a final search yesterday evening and did not find any
> information about a method for rotating the marker symbol using the
> legend resources.
>
>
> -------------------------------------------------------------
> Brandon Fisel
>
>
> On Fri, Nov 6, 2009 at 13:08, Adam Phillips <asphilli@ucar.edu> wrote:
> Hi Brandon,
> (I might've missed them, but I didn't see any responses to your
> query.)
>
> In my mind the best way to do this would be to use the approach
> illustrated in example #7 here:
> http://www.ncl.ucar.edu/Applications/legend.shtml#ex7
>
> This doesn't use any of the legend resources. Instead, it uses
> gsn_text_ndc and gsn_polymarker_ndc...
> Adam
>
> Brandon Fisel wrote:
> Hi NCL'ers,
>
> Is there a way that I can plot a legend along 1 row, horizontally?
>
> In other words, I want a legend that would be formatted like the
> following:
>
> -- a -|- b ** c ~~ d
>
> for (/--,-|-,**,~~/) being some marker styles and a,b,c,d being
> some legend labels.
>
> The default method, using lgOrientation=Vertical would look
> something like:
>
> -- a
> -|- b
> ** c
> ~~ d
>
> I've tried using lgOrientation=Horizontal but that only flips the
> orientation of the legend markers and places the legend text below
> those.
>
>
> Thanks in advance,
>
> -------------------------------------------------------------
> Brandon Fisel
>
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> --
> __________________________________________________
> Adam Phillips asphilli@ucar.edu
> National Center for Atmospheric Research tel: (303) 497-1726
> Climate and Global Dynamics Division fax: (303) 497-1333
> P.O. Box 3000
> Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
>
> _______________________________________________
> 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 Fri Nov 6 15:12:35 2009

This archive was generated by hypermail 2.1.8 : Sun Nov 08 2009 - 22:22:57 MST