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
Film consumption from 2008 to the present. Trips are shown with arrows, numbers, and labels. Note that 3 rolls of film are missing from the statistics.
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