Re: 2 NCL Qs

From: Sylvia Murphy (murphys AT XXXXXX)
Date: Mon Feb 09 2004 - 09:45:31 MST

  • Next message: Adam Phillips: "Re: 2 NCL Qs"

    Hi maurice, i can answer your first question. the technique should work
    for both.

    xyDashPatterns = NhlNewDashPattern(wks,pattern) ; is for xy lines

    cnLineDashPattern= NhlNewDashPattern(wks,pattern)

    the xy version is demonstrated at:
    http://www.cgd.ucar.edu/csm/support/CSM_Graphics/Scripts/xy_3.ncl

    I can't answer your other question.

    On Mon, 9 Feb 2004, Maurice McHugh wrote:

    > Hi all-
    >
    > 1. I seem to recall that new dash patterns could be specified for
    > contour lines in NCAR graphics. How can one do so in NCL??? There is a
    > function for doing this for lines in xy-plots but not for contour plots.
    >
    > 2. Is there any way of retrieving the name of a script from within the
    > same script so that the filename can be plotted on maps using DJS's time
    > stamp function? I'm able to do so from the c-shell, using history but
    > not from within NCL itself.
    >
    > Many Thanks
    >
    > --
    > Maurice J. McHugh, Ph.D.
    >
    > Assistant Professor
    > Department of Geography and Anthropology
    > 227 Howe Russell Geoscience Complex
    > Louisiana State University Phone: (225)578-0476
    > Baton Rouge, LA Fax: (225)578-4420
    > USA
    >
    > _______________________________________________
    > ncl-talk mailing list
    > ncl-talk AT ucar.edu
    > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
    >

    ******************************************************
    Sylvia Murphy EML: murphys AT ucar.edu
    NCAR CGD/CSEG PHN: 303-497-1720
    1850 Table Mesa Drive FAX: 303-497-1333
    Boulder CO 80305

    WEB: http://www.cgd.ucar.edu/csm/support/
         http://www.cgd.ucar.edu/csm/support/CSM_Graphics/
    ******************************************************

    _______________________________________________
    ncl-talk mailing list
    ncl-talk AT ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Mon Feb 09 2004 - 09:34:09 MST