points = (2 * !PI / 99.0) * FINDGEN(100)
for q = 0, 49, 2 do begin
temp_points = points[q*2:(q+1)*2-1]
x = hmin * COS(temp_points)
y = hmin * SIN(temp_points)
arr = TRANSPOSE([[x],[y]])
plots, arr, /data
endfor
device,filename=filename,/color,xsize=24,ysize=18, /landscape
.
device,/close
cgFixPS, filename, /A4
cgps2pdf, filename
see this: http://www.idlcoyote.com/ip_tips/xstretch.php
/esoform-97A$ convert -density 300 fit.ps fit.pdf
1. un-tar the file (http://heasarc.gsfc.nasa.gov/fitsio/)
2. /cfitsio$ export CFLAGS="-arch i386 -g -O2"
3. /cfitsio$ ./configure
4. /cfitsio$ make
(to see what processes are running by 'robert')
$ ps -ef | grep robert
or
$ pgrep -l -u robert
(.bashrc from the remote machine)
export DISPLAY=localhost:10.0
(by using ppid)
$ pkill -STOP -P ppid
background run in idl8.2
$ nohup nice $IDL_DIR/bin/idl < ghost.pro > out.txt 2> log.txt &
'ghost.pro' has following contents only :
.rn step2.pro
go
host-iMac:~ host$ idl
dyld: Symbol not found: _inflateReset2
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
Expected in: /Applications/itt/idl71/bin/bin.darwin.x86_64/libz.1.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
remove libz.1.dylib from /Applications/itt/idl71/bin/bin.darwin.x86_64/
:)