Thursday, May 13, 2010

fmodhead problem.

fmodhead is not working at the very beginning. It turns out that due to the quote symbols I added before and after the string, e.g,

The wrong one is

backfile = 'stand_1'

The correct one is

backfile = stand_1




Other commands to modify the header values are: fkeypar, fthedit. Please refer to the fhelp for more info.

Wednesday, May 12, 2010

iphone backup path on mac.

login name>library>application support>mobilesync>backup

Monday, May 03, 2010

PLT background color in xspec

http://xspector.blogspot.com/2006/10/pgplot-background-color.html


PGPLOT background color

Since I never remember how to make sure the background color is white in PGPLOT and PLT plots here are two ways to do it.

1. setenv PGPLOT_BACKGROUND white
setenv PGPLOT_FOREGROUND black


2. PLT> scr w
which is a quick alias for
PLT> scr 0 1 1 1
PLT> scr 1 0 0 0