[SAC-HELP] number formatting question

Igor Stubailo stubailo at moho.ess.ucla.edu
Wed Jul 15 14:59:12 PDT 2009


Dear SAC community,

I would like to display a BAZ in the title of the plot but the number 
is somewhat hard to read and it takes too many characters to 
display:

SAC> read /home/data/test.HHZ.sac
SAC> ch evla 18 evlo 12 evdp 10 mag 8
SAC> setbb baz &1,BAZ
SAC> getbb baz
baz = 6.559583e+01

How do I display the number as 65.59 without going through the shell 
processing?
How would you do from within the SAC with a shell help?

Thanks,
Igor




More information about the sac-help mailing list