underscore and gsn_text_ndc

From: David B. Reusch (dbr AT geosc.psu.edu)
Date: Wed Aug 25 2004 - 13:40:32 MDT


hi,

I've run into a minor issue with gsn_text_ndc where it
prints a blank instead of an underscore. the following
fragment shows my relevant code:

ifn="mnthly_sub1"
TimeDate = systemfunc( "date '+%a %m/%d/%y %H%M'" )
TimeDate = TimeDate+" ("+ifn+".bin)"
txres = True
txres@txFontHeightF = 0.008
gsn_text_ndc(pswks, TimeDate, 0.15, 0.03, txres)

the resulting Postscript will have a blank in place of
the underscore, i.e., "mnthly sub1" not "mnthly_sub1".

this is currently happening on Unix (Sun OS) with NCL
version 4.2.0.a031, though I'm pretty sure the same is
happening on Mac OS X.

thanks,
dave reusch

----------
Department of Geosciences | Reality is merely an illusion,
517 Deike Building | albeit a very persistent one.
Penn State University | -- Albert Einstein
University Park, PA 16802 |
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Wed Aug 25 2004 - 17:09:46 MDT