Re: gsnLeftString colour setting?

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 21 Apr 2009 10:18:16 -0600 (MDT)

Hi Mark,

Unfortunately there's no way to do this with the current version.

I've added gsnLeftStringFontColor to the attached gsn_csm.mods.ncl
script. You can try loading this script after you load "gsn_csm.ncl",
and hopefully it should allow you to set resources:

   gsnStringFontColor
   gsnRightStringFontColor
   gsnCenterStringFontColor
   gsnLeftStringFontColor

to either integers or named colors ("red").

--Mary

On Tue, 21 Apr 2009 Mark.Collier_at_csiro.au wrote:

> Hi,
>
> I'm using the resource for xy plots
>
> res_at_gsnLeftString = "SH"
>
> is there a way of changing its colour and other characteristics?
>
> I can use and set all resources for
> gsn_text_ndc(wks,"SH",0.15,0.51,resT)
> but the gsnLeftString ability to automatically place a label is very convenient.
>
>
> uname -a
> Linux cherax 2.6.16.54-0.2.12-default #1 SMP Fri Oct 24 02:16:38 UTC 2008 ia64 ia64 ia64 GNU/Linux
> gcc -v
> Using built-in specs.
> Target: ia64-suse-linux
> Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix= --enable-version-specific-runtime-libs --with-system-libunwind --host=ia64-suse-linux
> Thread model: posix
> gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)
>
> Many thanks,
> Mark.
>
> CSIRO Marine and Atmospheric Research
> Australia.
> _______________________________________________
> 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 Tue Apr 21 2009 - 10:18:16 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 21 2009 - 11:04:41 MDT