As noted by Mary Haley, there are various ways to print
information:
print:
http://ngwww.ucar.edu/ngdoc/ng/ref/ncl/functions/print.html
printVarSummary:
http://ngwww.ucar.edu/ngdoc/ng/ref/ncl/functions/printvarsum.html
sprintf:
http://ngwww.ucar.edu/ngdoc/ng/ref/ncl/functions/sprintf.html
sprinti:
http://ngwww.ucar.edu/ngdoc/ng/ref/ncl/functions/sprinti.html
---
By default, these write to "standard out" in linux/unix jargon.
ie: the output will be to your screen. You could redirect the
output to a file using standard linux/unix file redirection:
ncl < sample.ncl >&! sample.out
where the >&! meabs send standard-out, standard-error to sample.out
and the ! means overwrite sample.out if it previously exists.
or, perhaps better
ncl < dample.ncl >&! sample.out &
where the last & means put in background mode.
---
However, I'm not sure if that is what you were asking.
*IF* you are asking the following:
after an "x11" graphical window is opened,
wks = gsn_open_wks("x11","dummy")
can output from any of the
above functions be written to that window? The answer is "no".
This x11 is for graphics only. Of course, there are ways
to write graphical text, eg
http://www.cgd.ucar.edu/csm/support/CSM_Graphics/text.shtml
good luck
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Thu Sep 05 2002 - 14:31:11 MDT