; IDL Version 6.3 (linux x86_64 m64) ; Journal File for jmcbride@pluto ; Working directory: /home/jmcbride ; Date: Tue Jan 19 20:54:30 2010 x = 5 print, x ; 5 help, x name = 'james' help, name y = 6 z = x * y print, z ; 30 print, x, y, z ; 5 6 30 print, x, '*', y, '=', z ; 5* 6= 30 ar = intarr(10) help, ar print, ar ; 0 0 0 0 0 0 0 0 0 0 print, 6 / 5 ; 1 print, 6.0 / 5 ; 1.20000 ar = fltarr(10) help, ar print, ar ; 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 ; 0.00000 0.00000 0.00000 0.00000 ar[0] = 6.2 print, ar ; 6.20000 0.00000 0.00000 0.00000 0.00000 0.00000 ; 0.00000 0.00000 0.00000 0.00000 ar[1] = 6.2 print, ar ; 6.20000 6.20000 0.00000 0.00000 0.00000 0.00000 ; 0.00000 0.00000 0.00000 0.00000 ar[10] = 6.2 ; % Attempt to subscript AR with is out of range. ar2 = indgen(10) print, ar2 ; 0 1 2 3 4 5 6 7 8 9 print, ar2 ^ 2 ; 0 1 4 9 16 25 36 49 64 81 plot, ar2, ar2^2 plot, ar2, ar2^2, ps = 1 plot, ar2, ar2^2, ps = 2 plot, ar2, ar2^2, ps = 3 plot, ar2, ar2^2, ps = 4 plot, ar2, ar2^2, ps = 4, symsize = 2 ? plot plot, ar2, ar2^2, ps = 4, symsize = 2, xlabel = 'x' ; % Keyword XLABEL not allowed in call to: PLOT plot, ar2, ar2^2, ps = 4, symsize = 2, xtitle = 'x' plot, ar2, ar2^2, ps = 4, symsize = 2, xtitle = 'x', charsize = 3 plot, ar2, ar2^2, ps = 4, symsize = 2, xtitle = 'x', ytitle = 'y', charsize = 3, title = 'My plot' plot, ar2, ar2^2, ps = 4, symsize = 2, xtitle = 'x', ytitle = 'y', charsize = 3, title = 'My figure' oplot, ar2, ar2^2 plot, ar2, ar2^2, ps = 4, symsize = 2, xtitle = 'x', ytitle = 'y', charsize = 3, title = 'My, figure' plot, ar2, ar2^2, ps = 4, symsize = 2, xtitle = 'x', ytitle = 'y', charsize = 3, title = name plot, ar2, ar2^2, ps = 4, symsize = 2, xtitle = 'x', ytitle = 'y', charsize = 3, title = james print, james ; % PRINT: Variable is undefined: JAMES. set_srs, frq = 1.5e6 set_srs, frq = 1.5e6, srs2 = 1 set_srs, frq = 1.5e6 set_srs, frq = 1.2e6 set_srs, frq = 1.0e6, srs2 = 1 set_srs, off = 0 res = sampler(2048, 1e7) ;echo adc nsamples=2048 freq=1.00000e+07 chan=2 fname=/home/global/ay121/idl/pc/data/data.txt | /home/global/instrument/sendpc/sendpc help, res plot, res plot, res, xrange = [0, 100] plot, res[0:100] save, res, filename = 'sample1.sav' restore, 'sample1.sav' samptext, 2048, 1e7, filename = 'samples.txt' ;echo adc nsamples=2048 freq=1.00000e+07 chan=2 fname=samples.txt | /home/global/instrument/sendpc/sendpc readcol, res2, filename = 'samples.txt' ; % Keyword FILENAME not allowed in call to: READCOL readcol, 'samples.txt', res plot, res2[0:100] ; % Variable is undefined: RES2. plot, res[0:100] .r take_samples.pro take_samples, 2048, 1e7 ; % Keyword FREQ not allowed in call to: SET_SRS take_samples, 2048, 1e7 ; % Keyword FREQ not allowed in call to: SET_SRS .r take_samples.pro take_samples, 2048, 1e7 ;echo adc nsamples=2048 freq=1.00000e+07 chan=2 fname=/home/global/ay121/idl/pc/data/data.txt | /home/global/instrument/sendpc/sendpc .r take_samples.pro take_samples, 2048, 1e7 ;echo adc nsamples=2048 freq=1.00000e+07 chan=2 fname=/home/global/ay121/idl/pc/data/data.txt | /home/global/instrument/sendpc/sendpc .r take_samples.pro take_samples, 2048, 1e7 ;echo adc nsamples=2048 freq=1.00000e+07 chan=2 fname=/home/global/ay121/idl/pc/data/data.txt | /home/global/instrument/sendpc/sendpc res = take_samples(2048, 1e7) ;echo adc nsamples=2048 freq=1.00000e+07 chan=2 fname=/home/global/ay121/idl/pc/data/data.txt | /home/global/instrument/sendpc/sendpc .r take_samples.pro .r take_samples.pro res = take_samples(2048, 1e7) ;echo adc nsamples=2048 freq=1.00000e+07 chan=2 fname=/home/global/ay121/idl/pc/data/data.txt | /home/global/instrument/sendpc/sendpc ; 10 print, new ; % PRINT: Variable is undefined: NEW.