Re: How to modifiy the code

From: Mary Haley (haley AT ucar.edu)
Date: Mon Aug 15 2005 - 09:15:53 MDT

  • Next message: Bob Tomas: "Scatter plot"

    Jerry,

    You need to be more more clear about what you mean when you say "it
    didn't work". Adding in the spaces should work, so I'm not sure what
    the problem is. I just tried it with one of my scripts and it worked
    fine. Maybe you need to add more spaces?

    Also, on a side note, I noticed you are using ":" as a function code.
    Since ":" is a common character to use in a title, we recommend that
    people change the function code to a less common character, like "~".

    You can do this by downloading a file called ".hluresfile" from:

    http://www.ncl.ucar.edu/Document/Graphics/hlures.shtml

    In this file, the function code is globally changed to a "~". Also,
    you'll see other things being set in this file, like a global
    font (helvetica), and the background/foreground colors. You can
    remove these lines or comment them out, if you don't want them set.

    --Mary

    On Mon, 15 Aug 2005, jerry wrote:

    > Hi,dear NCL friends,
    > I use "gsnRightString" resource to set second title on the right side.
    > And, also use ":C:" to put a carriage.
    > I tried to add spaces to justify the string position.
    > But , it didn't work.
    >
    > Does anyone know how to put strings according to the right edge of the last character?
    >
    > The segment parts of the code are as follows:
    >
    > res@gsnRightString = " median-range" + \
    > ":C: Display Period" + \
    > ":C:2005020212~2005021512"
    >
    _______________________________________________
    ncl-talk mailing list
    ncl-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Mon Aug 15 2005 - 09:42:46 MDT