| 1 | echo hi there
|
|---|
| 2 | $a = 5
|
|---|
| 3 | dcho $
|
|---|
| 4 | echo $
|
|---|
| 5 | echo $a
|
|---|
| 6 | $a = asdkj sdflkje
|
|---|
| 7 | echo $a
|
|---|
| 8 | $a = 5.00000020020
|
|---|
| 9 | echo $a
|
|---|
| 10 | $a = 5*3
|
|---|
| 11 | echo $a
|
|---|
| 12 | echo {5*3}
|
|---|
| 13 | echo {5*sin(1.5)}
|
|---|
| 14 | echo {5*dsin(45)}
|
|---|
| 15 | echo {dsin(45)}
|
|---|
| 16 | echo {dasin(1.0)}
|
|---|
| 17 | echo {asin(1.0)}
|
|---|
| 18 | echo {5^2}
|
|---|
| 19 | help Math
|
|---|
| 20 | ?
|
|---|
| 21 | ??
|
|---|
| 22 | list word
|
|---|
| 23 | echo $word:0
|
|---|
| 24 | echo $word:n
|
|---|
| 25 | echo $word:0
|
|---|
| 26 | echo $word:1
|
|---|
| 27 | echo $word:2
|
|---|
| 28 | echo $word:3
|
|---|
| 29 | list name -x "ls *"
|
|---|
| 30 | echo $name:n
|
|---|
| 31 | echo $name:0
|
|---|
| 32 | echo $name:1
|
|---|
| 33 | echo $name:2
|
|---|
| 34 | create x 0 1000
|
|---|
| 35 | create x 0 1000 0.1
|
|---|
| 36 | $a = 6*5
|
|---|
| 37 | set a = 5*4
|
|---|
| 38 | echo $a
|
|---|
| 39 | set y = x^#
|
|---|
| 40 | set y = x^2
|
|---|
| 41 | echo x[5]
|
|---|
| 42 | echo x[0]
|
|---|
| 43 | echo x[1]
|
|---|
| 44 | echo x[]
|
|---|
| 45 | echo x[-1]
|
|---|
| 46 | echo x[-2]
|
|---|
| 47 | echo x[-3]
|
|---|
| 48 | box
|
|---|
| 49 | box -n foo
|
|---|
| 50 | clear -n 0
|
|---|
| 51 | device
|
|---|
| 52 | device -n foo
|
|---|
| 53 | device
|
|---|
| 54 | clear
|
|---|
| 55 | lim -n 0 x y
|
|---|
| 56 | ox
|
|---|
| 57 | box
|
|---|
| 58 | plot x y
|
|---|
| 59 | clear; plot x y -x 0
|
|---|
| 60 | clear; plot x y -x 0; box
|
|---|
| 61 | help plot
|
|---|
| 62 | help style
|
|---|
| 63 | style -c red
|
|---|
| 64 | clear; plot x y -x 0; box
|
|---|
| 65 | clear; plot x y -x 0 -c blue; box
|
|---|
| 66 | plot -c help
|
|---|
| 67 | clear; plot x y -x 0 -c indigo; box
|
|---|
| 68 | echo y[500]
|
|---|
| 69 | echo y[5000]
|
|---|
| 70 | y[5000] = 1e6
|
|---|
| 71 | clear; plot x y -x 0 -c indigo; box
|
|---|
| 72 | set y = sin(x) + x^2
|
|---|
| 73 | lim x y; clear; plot x y -x 0 -c indigo; box
|
|---|
| 74 | set y = 100*sin(x) + x^2
|
|---|
| 75 | lim x y; clear; plot x y -x 0 -c indigo; box
|
|---|
| 76 | set y = 50000*sin(x) + x^2
|
|---|
| 77 | lim x y; clear; plot x y -x 0 -c indigo; box
|
|---|
| 78 | write test.dat x y
|
|---|
| 79 | exec ls
|
|---|
| 80 | !ls
|
|---|
| 81 | !head test.dat
|
|---|
| 82 | write -f "%6.2f %7.2f" test.dat x y
|
|---|
| 83 | !head test.dat
|
|---|
| 84 | fprint "%e" x[0]
|
|---|
| 85 | fprint "%20.10e" x[20]
|
|---|
| 86 | data test.dat
|
|---|
| 87 | read P 2 Q 1 T 1
|
|---|
| 88 | vectors
|
|---|
| 89 | plot T P -c red
|
|---|
| 90 | read -fits EXTNAME P Q T
|
|---|
| 91 | mcreate image 500 700
|
|---|
| 92 | echo image[5][70]
|
|---|
| 93 | image[5][70] = 500
|
|---|
| 94 | echo image[5][70]
|
|---|
| 95 | set xim = xramp(image)
|
|---|
| 96 | tv -n foo xim 0 700
|
|---|
| 97 | ps -name file.ps
|
|---|
| 98 | !evince file.ps
|
|---|
| 99 | set yim = sin(xim)
|
|---|
| 100 | tv yim -1 2
|
|---|
| 101 | cursor
|
|---|
| 102 | echo $Xt $Yt
|
|---|
| 103 | cursor 1
|
|---|
| 104 | cursor 1 -n 0
|
|---|
| 105 | echo $X1 $Y1
|
|---|
| 106 | extract xim
|
|---|
| 107 | catdir catdir.sample
|
|---|
| 108 | !ls
|
|---|
| 109 | macro test
|
|---|
| 110 | test 8
|
|---|
| 111 | test 3
|
|---|
| 112 | input loneos
|
|---|
| 113 | navigate
|
|---|
| 114 | region
|
|---|
| 115 | region 103.0 0.0 90.0 ait
|
|---|
| 116 | cgrid
|
|---|
| 117 | images
|
|---|
| 118 | region 103.0 0.0 2.0 tan
|
|---|
| 119 | images
|
|---|
| 120 | cgrid -c red
|
|---|
| 121 | region 103.0 0.0 0.3 tan
|
|---|
| 122 | images
|
|---|
| 123 | skycat -c blue
|
|---|
| 124 | mextract ra dec mag -region
|
|---|
| 125 | vectors
|
|---|
| 126 | cplot ra dec -pt 0 -sz 0.3
|
|---|
| 127 | echo czplot ra dec mag 16.0 -pt 0 -sz 0.3
|
|---|
| 128 | vstat mag
|
|---|
| 129 | czplot ra dec mag 16.0 10.0 -pt 7 -c blue
|
|---|
| 130 | mextract ra dec mag -region where ra < 103.3
|
|---|
| 131 | vectors
|
|---|
| 132 | czplot ra dec mag 16.0 10.0 -pt 7 -c red
|
|---|
| 133 | avextract RA DEC i -region
|
|---|
| 134 | vectors
|
|---|
| 135 | czplot RA DEC i 16.0 10.0 -pt 7 -c violet
|
|---|
| 136 | region -ew 103.0 0.0 0.3
|
|---|
| 137 | images
|
|---|
| 138 | czplot ra dec mag 16.0 10.0 -pt 7 -c red
|
|---|
| 139 | mextract ra dec mag:inst mag:ave -region
|
|---|
| 140 | vectors
|
|---|
| 141 | set dmag = mag:ave - mag:inst
|
|---|
| 142 | lim -n 1 mag:ave dmag ; clear; box; plot mag:ave dmag
|
|---|
| 143 | lim -n 1 mag:ave 24.0 28.0; clear; box; plot mag:ave dmag
|
|---|
| 144 | mextract ra dec ra:ave dec:ave mag:inst mag:ave -region
|
|---|
| 145 | device -n 0
|
|---|
| 146 | mextract ra dec ra:ave dec:ave mag:inst mag:ave -region
|
|---|
| 147 | vectors
|
|---|
| 148 | set dra = ra - ra:ave
|
|---|
| 149 | set ddec = dec - dec:ave
|
|---|
| 150 | lim -n 2 dra ddec; clear; box; plot dra dave
|
|---|
| 151 | lim -n 2 dra ddec; clear; box; plot dra dddev
|
|---|
| 152 | lim -n 2 dra ddec; clear; box; plot dra ddec
|
|---|
| 153 | set dR = dra*3600
|
|---|
| 154 | set dD = ddec*3600
|
|---|
| 155 | lim -n 2 -2 2 -2 2; clear; box; plot dR dD
|
|---|
| 156 | label -x bottom -y left +x top +y right
|
|---|
| 157 | label -ul asd -ll asfdfd -ur asdfdw -lr awetedsg
|
|---|
| 158 | label -fn courier 18
|
|---|
| 159 | label -ul asd -ll asfdfd -ur asdfdw -lr awetedsg
|
|---|
| 160 | label -x foo_bar|
|
|---|
| 161 | label -x "foo_bar| sdfd"
|
|---|
| 162 | label -x "foo_bar| sdfd &ss&hthere"
|
|---|
| 163 | label -x "foo_bar| sdfd &ss&hthere^243"
|
|---|
| 164 | label
|
|---|
| 165 | plot
|
|---|
| 166 | which plot
|
|---|
| 167 | !ls
|
|---|
| 168 | !fhead catdir.sample/Images.dat
|
|---|
| 169 | !fhead -x 0 catdir.sample/Images.dat
|
|---|
| 170 | data catdir.sample/Images.dat
|
|---|
| 171 | read -fits DVO_IMAGE_PS1_V1
|
|---|
| 172 | read -fits DVO_IMAGE_PS1_V1 CRVAL1 CRVAL2
|
|---|
| 173 | vectors
|
|---|
| 174 | mextract -help fields
|
|---|
| 175 | mextract -help field
|
|---|
| 176 | mextract --help fields
|
|---|
| 177 | lightcurve
|
|---|
| 178 | vectors
|
|---|
| 179 | lightcurve ra:ave[0] dec:ave[0] 0.002
|
|---|
| 180 | lightcurve ra:ave[100] dec:ave[100] 0.002
|
|---|
| 181 | vectors
|
|---|
| 182 | lim -n 2 tc mc; clear; box; plot tc mc
|
|---|