# Lecture 17 Notes

```These are the notes for IDL Part II

--
```
Title: Math 481/581 Lecture 17: IDL Graphics

# Math 481/581 Lecture 17: IDL Graphics

Today we'll get into the nuts and bolts of IDL graphics. The meat of the lecture comes from the IDL info on the SWIG page:

http://www.math.arizona.edu/swig.html

# 2D Plotting with IDL

Here is a sample code and associated data file. You'll need to save "plots.txt" as "plots.pro" and "sine.txt" as "sine.dat".

# Countour and Surface Plots in IDL

Here is another sample code and data file. Again, you'll need to save "consurf.txt" as "consurf.pro" and "mydata.txt" as "mydata.dat".

# Image Processing in IDL

Finally, here is a code that illustrates a few of IDL's image processing capabilities. You can save the GIF image "as is", but you'll need to save "images.txt" as "images.pro".

# Further Information

For further information, you can refer to the IDL online demo and the online help.
```;;; plots.pro: to run this script, at the idl prompt type
;;; .run plots
;;;
;;; contains some simple 1-D plots, multiple plots with various options
;;;
;;; requires data file sine.dat

; set window size, then open window
xw = 580 & yh = 480
window, 0, xsize=xw, ysize=yh

; reset global multiple plot and font variables
!p.multi=[0,0,0,0,0]
!p.font=-1

; define arrays needed
a = fltarr(2, 361)
go = strarr(1)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;; simple plot ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; load in data file named sine.dat and store in array named a
print, 'A Simple plot'
openr,1,'sine.dat'
while not EOF(1) do readf, 1, a
close, 1
a = transpose(a)

; plot first column of array (x values) against second column
; of array a (sin(x) values)
plot, a(*,0), a(*,1), xtitle = 'x-axis', ytitle = 'y-axis', \$
title = 'Simple Sine Curve'

;;;;;;;;;;;;;;;;;;;; multiple plots using !p.multi ;;;;;;;;;;;;;;;;;;;;;;

print, 'Multiple plots using !p.multi'

; define array x=[-5.0,5.0] at intervals of 0.2, and subsequent
; functions of x
x = (findgen(50)/5.0) - 5.0
y1 = sin(x)
y2 = exp(x)
y3 = atan(x)
y4 = cosh(x)

; plot 4 plots on one page using the !p.multi command, with various
; font labels and plot symbols
!p.multi=[0, 2, 2, 0, 0]

plot, x, y1, title = 'Sin(x)', psym=2
plot, x, y2, title = '!6Exp(x)', psym=4
plot, x, y3, title = '!8Atan(x)', psym=3
plot, x, y4, title = '!13Cosh(x)', psym=1

; reset global variable !p.multi or it screws up subsequent plots
!p.multi=[0, 0, 0, 0, 0]

;;;;;;;;;;;; multiple plots using position option with plot command;;;;;;;;;;;;

print, 'Multiple plots by specifying position/Logarithmic Plots'
print, 'with Postscript fonts'

; define postscript font to be used
!p.font=0

; manually determine parameters to position plots
w = xw/3.0
h = 0.5*yh - xw/8.0
x1s=w & y1s=0.5*w+h
x2s=w & y2s=w/4.0

; plot two graphs and position them using the pos=[...] option
plot, x, y2, /xlog, title = 'Exp(x) vs Log(x)',/device, \$
pos=[x1s, y1s, x1s+w, y1s+h]
plot, x, y2, /ylog,/noerase, title = 'Log(Exp(x)) vs x',/device, \$
pos=[x2s, y2s, x2s+w, y2s+h]

; reset global multiple plot and font variables
!p.multi=[0,0,0,0,0]
!p.font=-1

end
```
```0.000000 0.000000
1.000000 0.017452
2.000000 0.034899
3.000000 0.052336
4.000000 0.069756
5.000000 0.087156
6.000000 0.104528
7.000000 0.121869
8.000000 0.139173
9.000000 0.156434
10.000000 0.173648
11.000000 0.190809
12.000000 0.207912
13.000000 0.224951
14.000000 0.241922
15.000000 0.258819
16.000000 0.275637
17.000000 0.292372
18.000000 0.309017
19.000000 0.325568
20.000000 0.342020
21.000000 0.358368
22.000000 0.374607
23.000000 0.390731
24.000000 0.406737
25.000000 0.422618
26.000000 0.438371
27.000000 0.453990
28.000000 0.469472
29.000000 0.484810
30.000000 0.500000
31.000000 0.515038
32.000000 0.529919
33.000000 0.544639
34.000000 0.559193
35.000000 0.573576
36.000000 0.587785
37.000000 0.601815
38.000000 0.615661
39.000000 0.629320
40.000000 0.642788
41.000000 0.656059
42.000000 0.669131
43.000000 0.681998
44.000000 0.694658
45.000000 0.707107
46.000000 0.719340
47.000000 0.731354
48.000000 0.743145
49.000000 0.754710
50.000000 0.766044
51.000000 0.777146
52.000000 0.788011
53.000000 0.798636
54.000000 0.809017
55.000000 0.819152
56.000000 0.829038
57.000000 0.838671
58.000000 0.848048
59.000000 0.857167
60.000000 0.866025
61.000000 0.874620
62.000000 0.882948
63.000000 0.891007
64.000000 0.898794
65.000000 0.906308
66.000000 0.913545
67.000000 0.920505
68.000000 0.927184
69.000000 0.933580
70.000000 0.939693
71.000000 0.945519
72.000000 0.951057
73.000000 0.956305
74.000000 0.961262
75.000000 0.965926
76.000000 0.970296
77.000000 0.974370
78.000000 0.978148
79.000000 0.981627
80.000000 0.984808
81.000000 0.987688
82.000000 0.990268
83.000000 0.992546
84.000000 0.994522
85.000000 0.996195
86.000000 0.997564
87.000000 0.998630
88.000000 0.999391
89.000000 0.999848
90.000000 1.000000
91.000000 0.999848
92.000000 0.999391
93.000000 0.998630
94.000000 0.997564
95.000000 0.996195
96.000000 0.994522
97.000000 0.992546
98.000000 0.990268
99.000000 0.987688
100.000000 0.984808
101.000000 0.981627
102.000000 0.978148
103.000000 0.974370
104.000000 0.970296
105.000000 0.965926
106.000000 0.961262
107.000000 0.956305
108.000000 0.951057
109.000000 0.945519
110.000000 0.939693
111.000000 0.933580
112.000000 0.927184
113.000000 0.920505
114.000000 0.913545
115.000000 0.906308
116.000000 0.898794
117.000000 0.891007
118.000000 0.882948
119.000000 0.874620
120.000000 0.866025
121.000000 0.857167
122.000000 0.848048
123.000000 0.838671
124.000000 0.829038
125.000000 0.819152
126.000000 0.809017
127.000000 0.798636
128.000000 0.788011
129.000000 0.777146
130.000000 0.766044
131.000000 0.754710
132.000000 0.743145
133.000000 0.731354
134.000000 0.719340
135.000000 0.707107
136.000000 0.694658
137.000000 0.681998
138.000000 0.669131
139.000000 0.656059
140.000000 0.642788
141.000000 0.629320
142.000000 0.615661
143.000000 0.601815
144.000000 0.587785
145.000000 0.573576
146.000000 0.559193
147.000000 0.544639
148.000000 0.529919
149.000000 0.515038
150.000000 0.500000
151.000000 0.484810
152.000000 0.469472
153.000000 0.453990
154.000000 0.438371
155.000000 0.422618
156.000000 0.406737
157.000000 0.390731
158.000000 0.374607
159.000000 0.358368
160.000000 0.342020
161.000000 0.325568
162.000000 0.309017
163.000000 0.292372
164.000000 0.275637
165.000000 0.258819
166.000000 0.241922
167.000000 0.224951
168.000000 0.207912
169.000000 0.190809
170.000000 0.173648
171.000000 0.156434
172.000000 0.139173
173.000000 0.121869
174.000000 0.104528
175.000000 0.087156
176.000000 0.069756
177.000000 0.052336
178.000000 0.034899
179.000000 0.017452
180.000000 0.000000
181.000000 -0.017452
182.000000 -0.034899
183.000000 -0.052336
184.000000 -0.069756
185.000000 -0.087156
186.000000 -0.104528
187.000000 -0.121869
188.000000 -0.139173
189.000000 -0.156434
190.000000 -0.173648
191.000000 -0.190809
192.000000 -0.207912
193.000000 -0.224951
194.000000 -0.241922
195.000000 -0.258819
196.000000 -0.275637
197.000000 -0.292372
198.000000 -0.309017
199.000000 -0.325568
200.000000 -0.342020
201.000000 -0.358368
202.000000 -0.374607
203.000000 -0.390731
204.000000 -0.406737
205.000000 -0.422618
206.000000 -0.438371
207.000000 -0.453990
208.000000 -0.469472
209.000000 -0.484810
210.000000 -0.500000
211.000000 -0.515038
212.000000 -0.529919
213.000000 -0.544639
214.000000 -0.559193
215.000000 -0.573576
216.000000 -0.587785
217.000000 -0.601815
218.000000 -0.615661
219.000000 -0.629320
220.000000 -0.642788
221.000000 -0.656059
222.000000 -0.669131
223.000000 -0.681998
224.000000 -0.694658
225.000000 -0.707107
226.000000 -0.719340
227.000000 -0.731354
228.000000 -0.743145
229.000000 -0.754710
230.000000 -0.766044
231.000000 -0.777146
232.000000 -0.788011
233.000000 -0.798636
234.000000 -0.809017
235.000000 -0.819152
236.000000 -0.829038
237.000000 -0.838671
238.000000 -0.848048
239.000000 -0.857167
240.000000 -0.866025
241.000000 -0.874620
242.000000 -0.882948
243.000000 -0.891007
244.000000 -0.898794
245.000000 -0.906308
246.000000 -0.913545
247.000000 -0.920505
248.000000 -0.927184
249.000000 -0.933580
250.000000 -0.939693
251.000000 -0.945519
252.000000 -0.951057
253.000000 -0.956305
254.000000 -0.961262
255.000000 -0.965926
256.000000 -0.970296
257.000000 -0.974370
258.000000 -0.978148
259.000000 -0.981627
260.000000 -0.984808
261.000000 -0.987688
262.000000 -0.990268
263.000000 -0.992546
264.000000 -0.994522
265.000000 -0.996195
266.000000 -0.997564
267.000000 -0.998630
268.000000 -0.999391
269.000000 -0.999848
270.000000 -1.000000
271.000000 -0.999848
272.000000 -0.999391
273.000000 -0.998630
274.000000 -0.997564
275.000000 -0.996195
276.000000 -0.994522
277.000000 -0.992546
278.000000 -0.990268
279.000000 -0.987688
280.000000 -0.984808
281.000000 -0.981627
282.000000 -0.978148
283.000000 -0.974370
284.000000 -0.970296
285.000000 -0.965926
286.000000 -0.961262
287.000000 -0.956305
288.000000 -0.951057
289.000000 -0.945519
290.000000 -0.939693
291.000000 -0.933580
292.000000 -0.927184
293.000000 -0.920505
294.000000 -0.913545
295.000000 -0.906308
296.000000 -0.898794
297.000000 -0.891007
298.000000 -0.882948
299.000000 -0.874620
300.000000 -0.866025
301.000000 -0.857167
302.000000 -0.848048
303.000000 -0.838671
304.000000 -0.829038
305.000000 -0.819152
306.000000 -0.809017
307.000000 -0.798636
308.000000 -0.788011
309.000000 -0.777146
310.000000 -0.766044
311.000000 -0.754710
312.000000 -0.743145
313.000000 -0.731354
314.000000 -0.719340
315.000000 -0.707107
316.000000 -0.694658
317.000000 -0.681998
318.000000 -0.669131
319.000000 -0.656059
320.000000 -0.642788
321.000000 -0.629320
322.000000 -0.615661
323.000000 -0.601815
324.000000 -0.587785
325.000000 -0.573576
326.000000 -0.559193
327.000000 -0.544639
328.000000 -0.529919
329.000000 -0.515038
330.000000 -0.500000
331.000000 -0.484810
332.000000 -0.469472
333.000000 -0.453990
334.000000 -0.438371
335.000000 -0.422618
336.000000 -0.406737
337.000000 -0.390731
338.000000 -0.374607
339.000000 -0.358368
340.000000 -0.342020
341.000000 -0.325568
342.000000 -0.309017
343.000000 -0.292372
344.000000 -0.275637
345.000000 -0.258819
346.000000 -0.241922
347.000000 -0.224951
348.000000 -0.207912
349.000000 -0.190809
350.000000 -0.173648
351.000000 -0.156434
352.000000 -0.139173
353.000000 -0.121869
354.000000 -0.104528
355.000000 -0.087156
356.000000 -0.069756
357.000000 -0.052336
358.000000 -0.034899
359.000000 -0.017452
360.000000 -0.000000
```
```;;; consurf.pro: to run this script, at the idl prompt type
;;; .run consurf
;;;
;;; contains plots of contours and surfaces
;;;
;;; requires data file mydata.dat

; define data arrays needed
mydata = fltarr(49, 49)
go = strarr(1)

;;;;;;;;;;;;;;;;;;;;; contour plots ;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; read in data file mydata.dat, store in array mydata
openr,1,'mydata.dat'
while not EOF(1) do readf, 1, mydata
close, 1

; set postscript font to be used
!p.font=0

; 2-D contour plot of mydata
contour, mydata, title='Contour Plot'

; 2-D contour plot with contour labels, 6 contour levels
contour, /follow, mydata, nlevels=6, title='Contour Plot'

; 2-D contour plot with 25 contour levels
contour, mydata, nlevels=25, title='Contour Plot'

;;;;;;;;;;;;;;;;;;;; surface plots ;;;;;;;;;;;;;;;;;;;;;;;

; surface plot of mydata
surface, mydata, title='Surface Plot', xtitle='x axis',ytitle='y axis', \$
ztitle='z axis', /save

; add 3-D contours to surface plot above
contour, mydata, nlevels=8, /t3d, /noerase

; shaded surface plot with lighting determined by height

; overkill: combination surface/contour plots
show3, mydata

end
```
```   6.6712803e-05   1.2649614e-04   2.3075120e-04   4.0446232e-04   6.8010322e-04   1.0946591e-03   1.6813428e-03   2.4534088e-03   3.3779721e-03   4.3395488e-03   5.0964557e-03   5.2380697e-03   4.1562701e-03   1.0483279e-03  -5.0313531e-03  -1.5059117e-02  -2.9870801e-02  -4.9950725e-02  -7.5219444e-02  -1.0487248e-01  -1.3732380e-01  -1.7029328e-01  -2.0104735e-01  -2.2676361e-01  -2.4495404e-01  -2.5385961e-01  -2.5273009e-01  -2.4192747e-01  -2.2283345e-01  -1.9758806e-01  -1.6872380e-01  -1.3877778e-01  -1.0995938e-01  -8.3927663e-02  -6.1699334e-02  -4.3676421e-02  -2.9759998e-02  -1.9507132e-02  -1.2291160e-02  -7.4366240e-03  -4.3144326e-03  -2.3954397e-03  -1.2692955e-03  -6.3931402e-04  -3.0421955e-04  -1.3541735e-04  -5.5399300e-05  -2.0086931e-05  -5.8641879e-06
1.0380773e-04   1.9662097e-04   3.5808811e-04   6.2622140e-04   1.0496895e-03   1.6823330e-03   2.5689332e-03   3.7180840e-03   5.0589016e-03   6.3813203e-03   7.2653623e-03   7.0127111e-03   4.6025571e-03  -1.3000183e-03  -1.2254856e-02  -2.9858354e-02  -5.5458718e-02  -8.9807493e-02  -1.3271140e-01  -1.8277077e-01  -2.3729291e-01  -2.9244437e-01  -3.4365626e-01  -3.8623312e-01  -4.1605619e-01  -4.3023661e-01  -4.2757554e-01  -4.0873017e-01  -3.7605384e-01  -3.3315616e-01  -2.8429076e-01  -2.3370803e-01  -1.8510182e-01  -1.4123980e-01  -1.0381215e-01  -7.3479686e-02  -5.0065455e-02  -3.2818061e-02  -2.0680130e-02  -1.2514176e-02  -7.2617372e-03  -4.0328985e-03  -2.1376511e-03  -1.0771143e-03  -5.1280116e-04  -2.2840751e-04  -9.3522741e-05  -3.3956340e-05  -9.9417508e-06
1.5610724e-04   2.9558396e-04   5.3785311e-04   9.3917476e-04   1.5706379e-03   2.5087840e-03   3.8123615e-03   5.4787690e-03   7.3752004e-03   9.1443210e-03   1.0093239e-02   9.0870766e-03   4.4820326e-03  -5.8573637e-03  -2.4412297e-02  -5.3706398e-02  -9.5850288e-02  -1.5198654e-01  -2.2173738e-01  -3.0279268e-01  -3.9077853e-01  -4.7950794e-01  -5.6163499e-01  -6.2963277e-01  -6.7692003e-01  -6.9890512e-01  -6.9371898e-01  -6.6247552e-01  -6.0900957e-01  -5.3916625e-01  -4.5981492e-01  -3.7780825e-01  -2.9909342e-01  -2.2811946e-01  -1.6759582e-01  -1.1857205e-01  -8.0748082e-02  -5.2899500e-02  -3.3310844e-02  -2.0139835e-02  -1.1673835e-02  -6.4738909e-03  -3.4249260e-03  -1.7211941e-03  -8.1635284e-04  -3.6154580e-04  -1.4665812e-04  -5.2316649e-05  -1.4655304e-05
2.2663104e-04   4.2943555e-04   7.8158484e-04   1.3642697e-03   2.2791090e-03   3.6332207e-03   5.5031707e-03   7.8680835e-03   1.0504444e-02   1.2842462e-02   1.3797507e-02   1.1609190e-02   3.7414254e-03  -1.3088288e-02  -4.2682408e-02  -8.8896103e-02  -1.5493723e-01  -2.4251432e-01  -3.5098967e-01  -4.7674865e-01  -6.1300117e-01  -7.5017102e-01  -8.7690669e-01  -9.8159067e-01  -1.0540780e+00  -1.0873068e+00  -1.0784290e+00  -1.0292109e+00  -9.4562562e-01  -8.3675268e-01  -7.1325044e-01  -5.8574387e-01  -4.6344787e-01  -3.5324945e-01  -2.5933459e-01  -1.8331328e-01  -1.2470211e-01  -8.1585463e-02  -5.1288706e-02  -3.0943911e-02  -1.7887829e-02  -9.8850113e-03  -5.2049956e-03  -2.5989244e-03  -1.2213081e-03  -5.3333710e-04  -2.1131871e-04  -7.1977715e-05  -1.7714495e-05
3.1701661e-04   6.0204015e-04   1.0976220e-03   1.9182510e-03   3.2066737e-03   5.1117800e-03   7.7356451e-03   1.1035492e-02   1.4669557e-02   1.7786517e-02   1.8778071e-02   1.5042340e-02   2.8363072e-03  -2.2682112e-02  -6.7121830e-02  -1.3617091e-01  -2.3456406e-01  -3.6482320e-01  -5.2600247e-01  -7.1274975e-01  -9.1500560e-01  -1.1185726e+00  -1.3066080e+00  -1.4618595e+00  -1.5692482e+00  -1.6182656e+00  -1.6046632e+00  -1.5310572e+00  -1.4063306e+00  -1.2439992e+00  -1.0599392e+00  -8.6998207e-01  -6.8786007e-01  -5.2383339e-01  -3.8413134e-01  -2.7113784e-01  -1.8411242e-01  -1.2017870e-01  -7.5331168e-02  -4.5280969e-02  -2.6050356e-02  -1.4305167e-02  -7.4687422e-03  -3.6854191e-03  -1.7022450e-03  -7.2349546e-04  -2.7329528e-04  -8.3832035e-05  -1.3671229e-05
4.2586985e-04   8.1223276e-04   1.4864477e-03   2.6064812e-03   4.3700337e-03   6.9842242e-03   1.0592200e-02   1.5136394e-02   2.0142392e-02   2.4422145e-02   2.5723135e-02   2.0389898e-02   3.1480033e-03  -3.2846644e-02  -9.5548868e-02  -1.9305978e-01  -3.3216747e-01  -5.1655601e-01  -7.4500874e-01  -1.0100500e+00  -1.2974860e+00  -1.5871840e+00  -1.8551737e+00  -2.0768246e+00  -2.2305346e+00  -2.3011743e+00  -2.2825310e+00  -2.1782071e+00  -2.0007944e+00  -1.7695547e+00  -1.5071707e+00  -1.2362974e+00  -9.7660409e-01  -7.4279419e-01  -5.4379208e-01  -3.8300358e-01  -2.5934929e-01  -1.6868552e-01  -1.0525284e-01  -6.2893013e-02  -3.5903375e-02  -1.9513116e-02  -1.0044413e-02  -4.8569806e-03  -2.1754310e-03  -8.7833085e-04  -2.9981163e-04  -6.8763201e-05   8.1534076e-06
5.4635139e-04   1.0495779e-03   1.9335714e-03   3.4115880e-03   5.7539487e-03   9.2500524e-03   1.4113031e-02   2.0298981e-02   2.7217729e-02   3.3331341e-02   3.5673936e-02   2.9380462e-02   7.3728527e-03  -3.9601076e-02  -1.2237508e-01  -2.5207975e-01  -4.3816990e-01  -6.8597665e-01  -9.9422306e-01  -1.3531108e+00  -1.7436168e+00  -2.1384815e+00  -2.5050233e+00  -2.8094599e+00  -3.0219749e+00  -3.1214887e+00  -3.0990864e+00  -2.9593322e+00  -2.7192043e+00  -2.4049490e+00  -2.0476257e+00  -1.6783479e+00  -1.3241821e+00  -1.0053871e+00  -7.3426690e-01  -5.1551414e-01  -3.4763028e-01  -2.2488911e-01  -1.3934175e-01  -8.2501383e-02  -4.6524554e-02  -2.4866888e-02  -1.2501047e-02  -5.8346274e-03  -2.4667184e-03  -8.9300794e-04  -2.2999589e-04   7.3270094e-06   6.6190444e-05
6.6291983e-04   1.2885159e-03   2.3994193e-03   4.2767334e-03   7.2847971e-03   1.1828795e-02   1.8239879e-02   2.6550063e-02   3.6124211e-02   4.5139947e-02   4.9953855e-02   4.4463180e-02   1.9653860e-02  -3.6408005e-02  -1.3786996e-01  -2.9947540e-01  -5.3401935e-01  -8.4913636e-01  -1.2439830e+00  -1.7066129e+00  -2.2129013e+00  -2.7276839e+00  -3.2083288e+00  -3.6103555e+00  -3.8941189e+00  -4.0311864e+00  -4.0090001e+00  -3.8327713e+00  -3.5242127e+00  -3.1174723e+00  -2.6532762e+00  -2.1726118e+00  -1.7112479e+00  -1.2960153e+00  -9.4323512e-01  -6.5914023e-01  -4.4174719e-01  -2.8346400e-01  -1.7376045e-01  -1.0141284e-01  -5.6075307e-02  -2.9147027e-02  -1.4053619e-02  -6.1282765e-03  -2.2796051e-03  -5.9377869e-04   3.4725716e-05   1.9856542e-04   1.8919859e-04
7.4734338e-04   1.4810030e-03   2.8062183e-03   5.0830615e-03   8.7932018e-03   1.4500398e-02   2.2724647e-02   3.3680707e-02   4.6835386e-02   6.0264345e-02   6.9846528e-02   6.8423196e-02   4.5154864e-02  -1.4598710e-02  -1.2852015e-01  -3.1542252e-01  -5.9212843e-01  -9.6942847e-01  -1.4478031e+00  -2.0139128e+00  -2.6389683e+00  -3.2798767e+00  -3.8835116e+00  -4.3936844e+00  -4.7596121e+00  -4.9441428e+00  -4.9299140e+00  -4.7220400e+00  -4.3467537e+00  -3.8464113e+00  -3.2721104e+00  -2.6756270e+00  -2.1023513e+00  -1.5864416e+00  -1.1487277e+00  -7.9718822e-01  -5.2931499e-01  -3.3544384e-01  -2.0217896e-01  -1.1527320e-01  -6.1639794e-02  -3.0454210e-02  -1.3499695e-02  -4.9986217e-03  -1.1729304e-03   2.7469995e-04   6.3763413e-04   5.8286454e-04   4.1822002e-04
7.5444000e-04   1.5483899e-03   3.0229854e-03   5.6228047e-03   9.9673327e-03   1.6826649e-02   2.7001268e-02   4.1043773e-02   5.8759676e-02   7.8451383e-02   9.5934052e-02   1.0345873e-01   8.8812460e-02   3.4989672e-02  -7.9113262e-02  -2.7660285e-01  -5.7896371e-01  -1.0011899e+00  -1.5464555e+00  -2.2015389e+00  -2.9343922e+00  -3.6950401e+00  -4.4203469e+00  -5.0422483e+00  -5.4980496e+00  -5.7406759e+00  -5.7465812e+00  -5.5194974e+00  -5.0891984e+00  -4.5056834e+00  -3.8302654e+00  -3.1256631e+00  -2.4472051e+00  -1.8367140e+00  -1.3197786e+00  -9.0624020e-01  -5.9305607e-01  -3.6839610e-01  -2.1587614e-01  -1.1812215e-01  -5.9252014e-02  -2.6220863e-02  -9.2231681e-03  -1.4573362e-03   1.4401716e-03   2.0505992e-03   1.7677350e-03   1.2626392e-03   8.0703703e-04
6.1850981e-04   1.3742537e-03   2.8515481e-03   5.5728247e-03   1.0304307e-02   1.8064542e-02   3.0035865e-02   4.7302417e-02   7.0330750e-02   9.8130928e-02   1.2710393e-01   1.4970305e-01   1.5320114e-01   1.1902178e-01   2.3191735e-02  -1.6157702e-01  -4.6192859e-01  -8.9825730e-01  -1.4782926e+00  -2.1912754e+00  -3.0044197e+00  -3.8631804e+00  -4.6961484e+00  -5.4242735e+00  -5.9728893e+00  -6.2840687e+00  -6.3265242e+00  -6.1007421e+00  -5.6381926e+00  -4.9949420e+00  -4.2413438e+00  -3.4503007e+00  -2.6866654e+00  -1.9997414e+00  -1.4198188e+00  -9.5859454e-01  -6.1250169e-01  -3.6757192e-01  -2.0449291e-01  -1.0287150e-01  -4.4189990e-02  -1.3386551e-02   7.0442920e-04   5.6762214e-03   6.2615238e-03   5.1387679e-03   3.6515414e-03   2.3607574e-03   1.4202397e-03
2.5198332e-04   8.0101959e-04   2.0187118e-03   4.4775231e-03   9.0747925e-03   1.7096321e-02   3.0194319e-02   5.0189429e-02   7.8586930e-02   1.1570802e-01   1.5940075e-01   2.0342712e-01   2.3581762e-01   2.3770071e-01   1.8327529e-01   4.1595663e-02  -2.1940843e-01  -6.2677688e-01  -1.1950509e+00  -1.9190348e+00  -2.7687847e+00  -3.6887447e+00  -4.6022310e+00  -5.4211944e+00  -6.0597108e+00  -6.4484229e+00  -6.5466445e+00  -6.3492542e+00  -5.8867835e+00  -5.2188434e+00  -4.4226869e+00  -3.5797665e+00  -2.7633327e+00  -2.0294732e+00  -1.4128025e+00  -9.2672006e-01  -5.6713626e-01  -3.1806135e-01  -1.5746693e-01  -6.2232645e-02  -1.1558226e-02   1.1246755e-02   1.8313435e-02   1.7653874e-02   1.4040194e-02   9.9739686e-03   6.5336882e-03   4.0106126e-03   2.3282891e-03
-4.5179366e-04  -3.6593610e-04   1.8147526e-04   1.7536489e-03   5.3229214e-03   1.2414092e-02   2.5190461e-02   4.6379896e-02   7.8901204e-02   1.2504235e-01   1.8509185e-01   2.5545891e-01   3.2654099e-01   3.8087356e-01   3.9233953e-01   3.2730055e-01   1.4831442e-01  -1.7944140e-01  -6.7975103e-01  -1.3565671e+00  -2.1871305e+00  -3.1193821e+00  -4.0753648e+00  -4.9609256e+00  -5.6802760e+00  -6.1524161e+00  -6.3256295e+00  -6.1865448e+00  -5.7616133e+00  -5.1108365e+00  -4.3155683e+00  -3.4635717e+00  -2.6348662e+00  -1.8912473e+00  -1.2710224e+00  -7.8899335e-01  -4.4049185e-01  -2.0763480e-01  -6.5950094e-02   1.0024875e-02   4.2909019e-02   5.0516068e-02   4.5435111e-02   3.5622022e-02   2.5471758e-02   1.6965032e-02   1.0646852e-02   6.3403859e-03   3.5995208e-03
-1.6097941e-03  -2.3430363e-03  -3.0476315e-03  -3.2696942e-03  -2.0741685e-03   2.2022525e-03   1.2189597e-02   3.1602740e-02   6.5066914e-02   1.1744058e-01   1.9244960e-01   2.9057280e-01   4.0636647e-01   5.2575936e-01   6.2419780e-01   6.6672522e-01   6.1097156e-01   4.1349551e-01   3.8988260e-02  -5.2927619e-01  -1.2802996e+00  -2.1704182e+00  -3.1248860e+00  -4.0468348e+00  -4.8324374e+00  -5.3891564e+00  -5.6527969e+00  -5.5991546e+00  -5.2474226e+00  -4.6547444e+00  -3.9036545e+00  -3.0858592e+00  -2.2863909e+00  -1.5715517e+00  -9.8258512e-01  -5.3527318e-01  -2.2419717e-01  -2.9607544e-02   7.5217575e-02   1.1774895e-01   1.2198254e-01   1.0634738e-01   8.3361525e-02   6.0417144e-02   4.1078795e-02   2.6427024e-02   1.6174361e-02   9.4530451e-03   5.2897644e-03
-3.3335588e-03  -5.3399577e-03  -8.0506213e-03  -1.1266885e-02  -1.4269767e-02  -1.5449569e-02  -1.1873079e-02   1.0960192e-03   2.9918040e-02   8.2457083e-02   1.6672254e-01   2.8858044e-01   4.4850913e-01   6.3789104e-01   8.3580914e-01   1.0076776e+00   1.1070619e+00   1.0815565e+00   8.8256383e-01   4.7745531e-01  -1.3867873e-01  -9.3514240e-01  -1.8446858e+00  -2.7710557e+00  -3.6042966e+00  -4.2406639e+00  -4.6023879e+00  -4.6523049e+00  -4.3996989e+00  -3.8961585e+00  -3.2230029e+00  -2.4739604e+00  -1.7376489e+00  -1.0838624e+00  -5.5606922e-01  -1.7053114e-01   7.9260043e-02   2.1511012e-01   2.6602531e-01   2.6136120e-01   2.2622382e-01   1.7928067e-01   1.3253903e-01   9.2373963e-02   6.1094540e-02   3.8512883e-02   2.3211311e-02   1.3404930e-02   7.4309322e-03
-5.7071614e-03  -9.5188554e-03  -1.5130979e-02  -2.2789016e-02  -3.2234752e-02  -4.2200775e-02  -4.9749236e-02  -4.9567464e-02  -3.3457332e-02   9.6189683e-03   9.2507421e-02   2.2748698e-01   4.2246962e-01   6.7618927e-01   9.7341772e-01   1.2817981e+00   1.5520878e+00   1.7231995e+00   1.7323233e+00   1.5287966e+00   1.0887232e+00   4.2628777e-01  -4.0216874e-01  -1.3037310e+00  -2.1639651e+00  -2.8683746e+00  -3.3250209e+00  -3.4824720e+00  -3.3384871e+00  -2.9375312e+00  -2.3584063e+00  -1.6958902e+00  -1.0414827e+00  -4.6791798e-01  -2.0379978e-02   2.8491237e-01   4.5608564e-01   5.1748529e-01   5.0077391e-01   4.3740199e-01   3.5361590e-01   2.6818930e-01   1.9236655e-01   1.3118757e-01   8.5372931e-02   5.3157262e-02   3.1730939e-02   1.8186424e-02   1.0020336e-02
-8.7618925e-03  -1.4946870e-02  -2.4427216e-02  -3.8111260e-02  -5.6496167e-02  -7.9025416e-02  -1.0317712e-01  -1.2338456e-01  -1.3005295e-01  -1.0911924e-01  -4.2732050e-02   8.8395375e-02   3.0068489e-01   6.0174374e-01   9.8384984e-01   1.4187287e+00   1.8558917e+00   2.2265173e+00   2.4536880e+00   2.4679077e+00   2.2247295e+00   1.7198104e+00   9.9651756e-01   1.4269356e-01  -7.2390617e-01  -1.4785534e+00  -2.0151487e+00  -2.2677284e+00  -2.2222459e+00  -1.9159228e+00  -1.4251339e+00  -8.4593348e-01  -2.7291655e-01   2.1819489e-01   5.8071773e-01   7.9896596e-01   8.8337751e-01   8.6161161e-01   7.6871279e-01   6.3880170e-01   4.9963629e-01   3.7025954e-01   2.6114200e-01   1.7585714e-01   1.1334211e-01   7.0042741e-02   4.1562136e-02   2.3707977e-02   1.3012486e-02
-1.2452913e-02  -2.1551810e-02  -3.5831153e-02  -5.7086507e-02  -8.6882570e-02  -1.2578180e-01  -1.7217472e-01  -2.2079347e-01  -2.6119335e-01  -2.7673252e-01  -2.4478361e-01  -1.3894500e-01   6.6251004e-02   3.8828278e-01   8.2834195e-01   1.3639098e+00   1.9449752e+00   2.4965131e+00   2.9286275e+00   3.1535954e+00   3.1065021e+00   2.7641456e+00   2.1563443e+00   1.3652171e+00   5.1121464e-01  -2.7130074e-01  -8.6271685e-01  -1.1833466e+00  -1.2083825e+00  -9.6907274e-01  -5.4074850e-01  -2.2047264e-02   4.8831571e-01   9.1105154e-01   1.1979146e+00   1.3341691e+00   1.3333385e+00   1.2273553e+00   1.0556188e+00   8.5576936e-01   6.5772337e-01   4.8121426e-01   3.3615585e-01   2.2471587e-01   1.4400705e-01   8.8593239e-02   5.2381593e-02   2.9793772e-02   1.6314772e-02
-1.6644369e-02  -2.9093380e-02  -4.8933849e-02  -7.9046542e-02  -1.2234840e-01  -1.8090889e-01  -2.5452932e-01  -3.3883903e-01  -4.2320594e-01  -4.8907003e-01  -5.0959108e-01  -4.5160225e-01  -2.8060794e-01   3.1150595e-02   4.9466282e-01   1.0945060e+00   1.7828527e+00   2.4803982e+00   3.0862295e+00   3.4962191e+00   3.6265197e+00   3.4362175e+00   2.9422824e+00   2.2213334e+00   1.3962474e+00   6.1025067e-01  -4.7940426e-03  -3.5718450e-01  -4.1340284e-01  -2.0094798e-01   2.0371186e-01   6.9744936e-01   1.1759948e+00   1.5556522e+00   1.7863915e+00   1.8547503e+00   1.7780619e+00   1.5934800e+00   1.3457586e+00   1.0769763e+00   8.1996062e-01   5.9569081e-01   4.1388999e-01   2.7553000e-01   1.7599583e-01   1.0799397e-01   6.3721505e-02   3.6184192e-02   1.9787939e-02
-2.1108913e-02  -3.7161352e-02  -6.3020378e-02  -1.0278914e-01  -1.6094490e-01  -2.4136523e-01  -3.4567649e-01  -4.7094460e-01  -6.0701029e-01  -7.3414674e-01  -8.2208112e-01  -8.3159273e-01  -7.1967208e-01  -4.4845155e-01   3.1649886e-03   6.2774118e-01   1.3811400e+00   2.1818471e+00   2.9204170e+00   3.4789841e+00   3.7573323e+00   3.6990014e+00   3.3096231e+00   2.6609925e+00   1.8781836e+00   1.1121942e+00   5.0532757e-01   1.5899645e-01   1.1289285e-01   3.4076403e-01   7.6276766e-01   1.2694878e+00   1.7498381e+00   2.1150121e+00   2.3130038e+00   2.3318511e+00   2.1932190e+00   1.9401733e+00   1.6235700e+00   1.2906425e+00   9.7775858e-01   7.0765689e-01   4.9026388e-01   3.2564042e-01   2.0763873e-01   1.2723438e-01   7.4992199e-02   4.2547401e-02   2.3251841e-02
-2.5544896e-02  -4.5206925e-02  -7.7125151e-02  -1.2667235e-01  -1.9997528e-01  -3.0287528e-01  -4.3907703e-01  -6.0746780e-01  -7.9890663e-01  -9.9321874e-01  -1.1575712e+00  -1.2476484e+00  -1.2128484e+00  -1.0058988e+00  -5.9587001e-01   1.8154938e-02   7.9688618e-01   1.6585812e+00   2.4879475e+00   3.1564873e+00   3.5507316e+00   3.6013370e+00   3.3043955e+00   2.7275442e+00   1.9975255e+00   1.2715430e+00   7.0006345e-01   3.9163168e-01   3.8962816e-01   6.6694972e-01   1.1388279e+00   1.6885675e+00   2.1977509e+00   2.5722866e+00   2.7582262e+00   2.7452454e+00   2.5595247e+00   2.2502510e+00   1.8746142e+00   1.4852612e+00   1.1223849e+00   8.1078391e-01   5.6088789e-01   3.7212814e-01   2.3707233e-01   1.4517126e-01   8.5519025e-02   4.8500139e-02   2.6496752e-02
-2.9610254e-02  -5.2605401e-02  -9.0144259e-02  -1.4880961e-01  -2.3632293e-01  -3.6046434e-01  -5.2706143e-01  -7.3699194e-01  -9.8248992e-01  -1.2435338e+00  -1.4856040e+00  -1.6604075e+00  -1.7109999e+00  -1.5818861e+00  -1.2331394e+00  -6.5567657e-01   1.1677535e-01   1.0039788e+00   1.8874485e+00   2.6312988e+00   3.1121193e+00   3.2504593e+00   3.0345791e+00   2.5282851e+00   1.8589325e+00   1.1878009e+00   6.7084942e-01   4.2113902e-01   4.8367892e-01   8.2929131e-01   1.3679108e+00   1.9758429e+00   2.5279470e+00   2.9254604e+00   3.1128760e+00   3.0815655e+00   2.8619900e+00   2.5090429e+00   2.0858003e+00   1.6499619e+00   1.2453438e+00   8.9877912e-01   6.2132427e-01   4.1200388e-01   2.6236881e-01   1.6061216e-01   9.4593563e-02   5.3637738e-02   2.9300213e-02
-3.2967498e-02  -5.8739505e-02  -1.0098506e-01  -1.6733000e-01  -2.6689034e-01  -4.0917565e-01  -6.0196567e-01  -8.4807007e-01  -1.1412469e+00  -1.4620841e+00  -1.7752139e+00  -2.0295966e+00  -2.1634761e+00  -2.1147478e+00  -1.8358524e+00  -1.3102679e+00  -5.6590197e-01   3.1994090e-01   1.2281097e+00   2.0185848e+00   2.5613739e+00   2.7696584e+00   2.6253576e+00   2.1883483e+00   1.5849776e+00   9.7792509e-01   5.2563999e-01   3.4314627e-01   4.7556524e-01   8.9141184e-01   1.4962415e+00   2.1609986e+00   2.7556158e+00   3.1780994e+00   3.3721406e+00   3.3307918e+00   3.0881319e+00   2.7037112e+00   2.2453444e+00   1.7747819e+00   1.3387534e+00   9.6575332e-01   6.6739294e-01   4.4243807e-01   2.8169633e-01   1.7242052e-01   1.0153893e-01   5.7572771e-02   3.1448889e-02
-3.5330914e-02  -6.3086459e-02  -1.0872182e-01  -1.8064783e-01  -2.8905129e-01  -4.4480539e-01  -6.5728813e-01  -9.3098941e-01  -1.2611644e+00  -1.6293453e+00  -2.0001281e+00  -2.3210596e+00  -2.5273511e+00  -2.5522817e+00  -2.3424906e+00  -1.8752247e+00  -1.1727261e+00  -3.0821324e-01   6.0091049e-01   1.4137625e+00   1.9971968e+00   2.2597837e+00   2.1784686e+00   1.8088071e+00   1.2741038e+00   7.3534892e-01   3.5022791e-01   2.3322571e-01   4.2849127e-01   9.0278956e-01   1.5592434e+00   2.2661591e+00   2.8912869e+00   3.3315003e+00   3.5307341e+00   3.4836331e+00   3.2268749e+00   2.8230904e+00   2.3431115e+00   1.8512130e+00   1.3959145e+00   1.0067178e+00   6.9556174e-01   4.6104417e-01   2.9351206e-01   1.7964019e-01   1.0578621e-01   5.9979831e-02   3.2763696e-02
-3.6506205e-02  -6.5290479e-02  -1.1272409e-01  -1.8768255e-01  -3.0101535e-01  -4.6448664e-01  -6.8859426e-01  -9.7912607e-01  -1.3326905e+00  -1.7320217e+00  -2.1424835e+00  -2.5116293e+00  -2.7736100e+00  -2.8593741e+00  -2.7119474e+00  -2.3039218e+00  -1.6523455e+00  -8.2540838e-01   6.3569877e-02   8.7615979e-01   1.4796069e+00   1.7807426e+00   1.7529523e+00   1.4470183e+00   9.8101184e-01   5.1095635e-01   1.9039069e-01   1.3078084e-01   3.7444572e-01   8.8738656e-01   1.5728090e+00   2.2997101e+00   2.9369303e+00   3.3826684e+00   3.5822925e+00   3.5318832e+00   3.2694633e+00   2.8588369e+00   2.3717777e+00   1.8732396e+00   1.4121613e+00   1.0182357e+00   7.0341699e-01   4.6620139e-01   2.9677327e-01   1.8162739e-01   1.0695348e-01   6.0641008e-02   3.3124950e-02
-3.6414755e-02  -6.5206390e-02  -1.1273235e-01  -1.8798527e-01  -3.0203152e-01  -4.6700468e-01  -6.9398520e-01  -9.8961211e-01  -1.3516412e+00  -1.7642190e+00  -2.1942619e+00  -2.5907753e+00  -2.8888998e+00  -3.0196728e+00  -2.9248773e+00  -2.5742358e+00  -1.9802810e+00  -1.2054066e+00  -3.5662666e-01   4.3335682e-01   1.0357550e+00   1.3586139e+00   1.3732798e+00   1.1254167e+00   7.2576397e-01   3.2217364e-01   6.0721227e-02   4.7447790e-02   3.2208038e-01   8.5096353e-01   1.5400372e+00   2.2624497e+00   2.8915080e+00   3.3292505e+00   3.5236685e+00   3.4720691e+00   3.2124738e+00   2.8078408e+00   2.3286978e+00   1.8387362e+00   1.3858713e+00   9.9912601e-01   6.9013642e-01   4.5736130e-01   2.9112889e-01   1.7816621e-01   1.0491305e-01   5.9483608e-02   3.2492791e-02
-3.5098770e-02  -6.2907884e-02  -1.0887032e-01  -1.8175529e-01  -2.9240699e-01  -4.5281093e-01  -6.7409014e-01  -9.6327306e-01  -1.3190236e+00  -1.7270540e+00  -2.1565367e+00  -2.5592706e+00  -2.8733258e+00  -3.0321513e+00  -2.9786025e+00  -2.6813335e+00  -2.1491482e+00  -1.4380782e+00  -6.4689008e-01   1.0040557e-01   6.8227611e-01   1.0107428e+00   1.0565794e+00   8.6008737e-01   5.2281120e-01   1.8154538e-01  -2.8088950e-02  -7.6186919e-03   2.7947826e-01   8.0101395e-01   1.4682172e+00   2.1616798e+00   2.7623656e+00   3.1785126e+00   3.3618310e+00   3.3106213e+00   3.0615944e+00   2.6749186e+00   2.2177758e+00   1.7507333e+00   1.3192991e+00   9.5099767e-01   6.5682259e-01   4.3524979e-01   2.7703851e-01   1.6953665e-01   9.9829155e-02   5.6600438e-02   3.0917769e-02
-3.2708167e-02  -5.8662734e-02  -1.0159946e-01  -1.6975893e-01  -2.7336645e-01  -4.2378592e-01  -6.3167820e-01  -9.0400986e-01  -1.2400786e+00  -1.6272124e+00  -2.0373557e+00  -2.4261665e+00  -2.7362392e+00  -2.9053895e+00  -2.8795421e+00  -2.6279011e+00  -2.1563585e+00  -1.5143110e+00  -7.9087823e-01  -9.9139252e-02   4.4914853e-01   7.7207847e-01   8.4090324e-01   6.9023707e-01   4.1082186e-01   1.2601323e-01  -4.1400927e-02  -2.0998453e-03   2.7699794e-01   7.6643025e-01   1.3851741e+00   2.0243090e+00   2.5753515e+00   2.9548566e+00   3.1192268e+00   3.0675393e+00   2.8340187e+00   2.4743013e+00   2.0503395e+00   1.6178987e+00   1.2188207e+00   8.7836025e-01   6.0654340e-01   4.0187531e-01   2.5576797e-01   1.5650711e-01   9.2151245e-02   5.2244911e-02   2.8537662e-02
-2.9473836e-02  -5.2884044e-02  -9.1632911e-02  -1.5318262e-01  -2.4680956e-01  -3.8285238e-01  -5.7106212e-01  -8.1791101e-01  -1.1230035e+00  -1.4751740e+00  -1.8493577e+00  -2.2056970e+00  -2.4923453e+00  -2.6528310e+00  -2.6375972e+00  -2.4176663e+00  -1.9968154e+00  -1.4179267e+00  -7.5988658e-01  -1.2373382e-01   3.8980502e-01   7.0583790e-01   7.9633234e-01   6.8956659e-01   4.6407132e-01   2.2800753e-01   8.9806967e-02   1.2890899e-01   3.7537558e-01   8.0407580e-01   1.3442276e+00   1.9002481e+00   2.3768164e+00   2.7006774e+00   2.8337886e+00   2.7758423e+00   2.5575959e+00   2.2286854e+00   1.8442313e+00   1.4537492e+00   1.0942987e+00   7.8814402e-01   5.4398870e-01   3.6029490e-01   2.2923717e-01   1.4023965e-01   8.2557383e-02   4.6798570e-02   2.5559569e-02
-2.5673760e-02  -4.6069558e-02  -7.9830638e-02  -1.3345834e-01  -2.1503138e-01  -3.3354517e-01  -4.9746403e-01  -7.1235880e-01  -9.7775324e-01  -1.2836881e+00  -1.6079523e+00  -1.9152647e+00  -2.1596909e+00  -2.2910692e+00  -2.2651299e+00  -2.0555333e+00  -1.6646825e+00  -1.1295110e+00  -5.1904260e-01   7.7474139e-02   5.7006103e-01   8.9035304e-01   1.0102245e+00   9.5050382e-01   7.7626514e-01   5.7940692e-01   4.5347022e-01   4.6830176e-01   6.5217568e-01   9.8636205e-01   1.4129159e+00   1.8522771e+00   2.2246148e+00   2.4684916e+00   2.5521799e+00   2.4759035e+00   2.2662030e+00   1.9655626e+00   1.6209882e+00   1.2745538e+00   9.5757624e-01   6.8865507e-01   4.7477066e-01   3.1416212e-01   1.9973827e-01   1.2212042e-01   7.1855817e-02   4.0715941e-02   2.2230082e-02
-2.1598358e-02  -3.8740359e-02  -6.7095120e-02  -1.1209322e-01  -1.8045578e-01  -2.7961345e-01  -4.1645208e-01  -5.9527770e-01  -8.1510755e-01  -1.0667236e+00  -1.3303024e+00  -1.5747223e+00  -1.7596545e+00  -1.8411115e+00  -1.7802002e+00  -1.5535779e+00  -1.1629297e+00  -6.4020232e-01  -4.5815267e-02   5.4125138e-01   1.0400493e+00   1.3869315e+00   1.5519335e+00   1.5469444e+00   1.4225628e+00   1.2540666e+00   1.1205369e+00   1.0834649e+00   1.1712705e+00   1.3740250e+00   1.6491781e+00   1.9355804e+00   2.1708301e+00   2.3066167e+00   2.3181488e+00   2.2061743e+00   1.9925241e+00   1.7117357e+00   1.4017855e+00   1.0964178e+00   8.2044260e-01   5.8819902e-01   4.0452189e-01   2.6715503e-01   1.6958461e-01   1.0355136e-01   6.0865450e-02   3.4458237e-02   1.8799739e-02
-1.7519913e-02  -3.1387135e-02  -5.4280598e-02  -9.0522617e-02  -1.4540853e-01  -2.2468757e-01  -3.3347922e-01  -4.7453959e-01  -6.4597230e-01  -8.3875585e-01  -1.0347761e+00  -1.2062942e+00  -1.3177872e+00  -1.3307394e+00  -1.2111833e+00  -9.3874383e-01  -5.1492809e-01   3.2103071e-02   6.4868267e-01   1.2637229e+00   1.8026474e+00   2.2039126e+00   2.4334945e+00   2.4928242e+00   2.4174091e+00   2.2662538e+00   2.1051957e+00   1.9892431e+00   1.9492035e+00   1.9862634e+00   2.0753964e+00   2.1756266e+00   2.2432832e+00   2.2440081e+00   2.1603405e+00   1.9935937e+00   1.7606713e+00   1.4877774e+00   1.2033824e+00   9.3239687e-01   6.9263654e-01   4.9374084e-01   3.3802327e-01   2.2242632e-01   1.4077512e-01   8.5751931e-02   5.0302553e-02   2.8430745e-02   1.5489567e-02
-1.3669069e-02  -2.4428648e-02  -4.2122485e-02  -6.9995036e-02  -1.1193748e-01  -1.7201124e-01  -2.5350491e-01  -3.5746086e-01  -4.8075877e-01  -6.1407342e-01  -7.4028666e-01  -8.3413353e-01  -8.6387040e-01  -7.9545431e-01  -5.9908136e-01  -2.5705429e-01   2.2889945e-01   8.3319513e-01   1.5069162e+00   2.1842683e+00   2.7942037e+00   3.2746400e+00   3.5854868e+00   3.7166677e+00   3.6886296e+00   3.5451179e+00   3.3404418e+00   3.1251609e+00   2.9344476e+00   2.7822443e+00   2.6622163e+00   2.5542634e+00   2.4337891e+00   2.2805186e+00   2.0843698e+00   1.8472687e+00   1.5812601e+00   1.3042869e+00   1.0353519e+00   7.9050343e-01   5.8045470e-01   4.0996281e-01   2.7858633e-01   1.8221138e-01   1.1475370e-01   6.9616306e-02   4.0698792e-02   2.2937352e-02   1.2466691e-02
-1.0219657e-02  -1.8184220e-02  -3.1189118e-02  -5.1490305e-02  -8.1678675e-02  -1.2423009e-01  -1.8067269e-01  -2.5032850e-01  -3.2871238e-01  -4.0586186e-01  -4.6508740e-01  -4.8279665e-01  -4.3005326e-01  -2.7628545e-01   4.9700268e-03   4.2913326e-01   9.9402057e-01   1.6756348e+00   2.4281150e+00   3.1887918e+00   3.8878922e+00   4.4609113e+00   4.8605839e+00   5.0652202e+00   5.0810879e+00   4.9382757e+00   4.6814558e+00   4.3584464e+00   4.0099361e+00   3.6630397e+00   3.3298436e+00   3.0103917e+00   2.6982811e+00   2.3865863e+00   2.0722102e+00   1.7576988e+00   1.4505866e+00   1.1611071e+00   8.9939291e-01   6.7314241e-01   4.8631368e-01   3.3894195e-01   2.2782670e-01   1.4767616e-01   9.2311378e-02   5.5652964e-02   3.2365419e-02   1.8160117e-02   9.8331254e-03
-7.2819737e-03  -1.2860421e-02  -2.1856131e-02  -3.5671616e-02  -5.5769027e-02  -8.3236932e-02  -1.1804402e-01  -1.5795479e-01  -1.9718831e-01  -2.2505858e-01  -2.2501251e-01  -1.7461561e-01  -4.7041031e-02   1.8558444e-01   5.4706116e-01   1.0509179e+00   1.6944416e+00   2.4546199e+00   3.2875946e+00   4.1325597e+00   4.9199058e+00   5.5821275e+00   6.0650177e+00   6.3363859e+00   6.3901171e+00   6.2447036e+00   5.9369676e+00   5.5130108e+00   5.0190020e+00   4.4941142e+00   3.9669217e+00   3.4553055e+00   2.9688770e+00   2.5124192e+00   2.0889562e+00   1.7015917e+00   1.3539426e+00   1.0495301e+00   7.9074893e-01   5.7799186e-01   4.0927789e-01   2.8045521e-01   1.8583420e-01   1.1900856e-01   7.3633518e-02   4.4008110e-02   2.5404415e-02   1.4164350e-02   7.6279762e-03
-4.9038429e-03  -8.5511967e-03  -1.4302972e-02  -2.2872239e-02  -3.4810288e-02  -5.0088041e-02  -6.7421313e-02  -8.3329625e-02  -9.1007999e-02  -7.9221636e-02  -3.1579282e-02   7.3349302e-02   2.6060249e-01   5.5577990e-01   9.8043953e-01   1.5465102e+00   2.2508179e+00   3.0711717e+00   3.9654305e+00   4.8744712e+00   5.7290653e+00   6.4595790e+00   7.0065059e+00   7.3294514e+00   7.4125068e+00   7.2649044e+00   6.9171170e+00   6.4137389e+00   5.8051539e+00   5.1400069e+00   4.4599029e+00   3.7968629e+00   3.1732113e+00   2.6030302e+00   2.0941957e+00   1.6502312e+00   1.2716064e+00   9.5647081e-01   7.0103674e-01   4.9986848e-01   3.4625652e-01   2.3272650e-01   1.5162631e-01   9.5685970e-02   5.8453274e-02   3.4551230e-02   1.9754813e-02   1.0922964e-02   5.8398715e-03
-3.0782343e-03  -5.2498227e-03  -8.5300826e-03  -1.3117099e-02  -1.8889756e-02  -2.5008353e-02  -2.9305675e-02  -2.7469158e-02  -1.2090737e-02   2.8230667e-02   1.0942922e-01   2.5176049e-01   4.7844115e-01   8.1288105e-01   1.2745497e+00   1.8739482e+00   2.6076118e+00   3.4543842e+00   4.3742289e+00   5.3104669e+00   6.1955949e+00   6.9599115e+00   7.5413491e+00   7.8944592e+00   7.9966202e+00   7.8502078e+00   7.4804908e+00   6.9300536e+00   6.2512754e+00   5.4986232e+00   4.7222380e+00   3.9636756e+00   3.2539666e+00   2.6136059e+00   2.0538007e+00   1.5782971e+00   1.1852758e+00   8.6904116e-01   6.2141616e-01   4.3286748e-01   2.9341011e-01   1.9332649e-01   1.2370791e-01   7.6813791e-02   4.6250457e-02   2.6988513e-02   1.5255485e-02   8.3501981e-03   4.4245231e-03
-1.7556303e-03  -2.8700298e-03  -4.3932761e-03  -6.1757542e-03  -7.6567910e-03  -7.4931663e-03  -3.0168491e-03   1.0470150e-02   4.0491989e-02   9.8124811e-02   1.9839263e-01   3.6000096e-01   6.0407444e-01   9.5167819e-01   1.4201517e+00   2.0186428e+00   2.7436159e+00   3.5753955e+00   4.4768562e+00   5.3950956e+00   6.2663341e+00   7.0235028e+00   7.6052364e+00   7.9645137e+00   8.0751735e+00   7.9349984e+00   7.5648719e+00   7.0044296e+00   6.3053596e+00   5.5238748e+00   4.7138125e+00   3.9214101e+00   3.1822370e+00   2.5202205e+00   1.9483278e+00   1.4703044e+00   1.0828909e+00   7.7807577e-01   5.4510411e-01   3.7210904e-01   2.4733121e-01   1.5994854e-01   1.0056670e-01   6.1432381e-02   3.6436015e-02   2.0970319e-02   1.1705798e-02   6.3347684e-03   3.3222730e-03
-8.5890684e-04  -1.2725530e-03  -1.6494175e-03  -1.6380677e-03  -4.4334097e-04   3.5076365e-03   1.3037260e-02   3.2815253e-02   7.0017500e-02   1.3490761e-01   2.4112346e-01   4.0539234e-01   6.4639773e-01   9.8261311e-01   1.4291222e+00   1.9937412e+00   2.6730833e+00   3.4494578e+00   4.2895613e+00   5.1457175e+00   5.9599496e+00   6.6705200e+00   7.2199149e+00   7.5627934e+00   7.6723259e+00   7.5436547e+00   7.1938591e+00   6.6585885e+00   5.9862327e+00   5.2309218e+00   4.4457178e+00   3.6771003e+00   2.9613895e+00   2.3232458e+00   1.7759726e+00   1.3231041e+00   9.6069319e-01   6.7977772e-01   4.6864734e-01   3.1468957e-01   2.0573084e-01   1.3088673e-01   8.0994232e-02   4.8725048e-02   2.8481974e-02   1.6169491e-02   8.9111433e-03   4.7654106e-03   2.4719190e-03
-2.9832706e-04  -2.9272869e-04  -5.6628305e-06   1.0006323e-03   3.5933253e-03   9.3577130e-03   2.0995390e-02   4.2818706e-02   8.1285086e-02   1.4545590e-01   2.4720125e-01   4.0092558e-01   6.2258892e-01   9.2787268e-01   1.3295025e+00   1.8339810e+00   2.4382493e+00   3.1270113e+00   3.8715216e+00   4.6304945e+00   5.3534203e+00   5.9860438e+00   6.4772043e+00   6.7858197e+00   6.8866596e+00   6.7737623e+00   6.4608482e+00   5.9787452e+00   5.3704682e+00   4.6850244e+00   3.9711553e+00   3.2720664e+00   2.6218304e+00   2.0437051e+00   1.5502037e+00   1.1444839e+00   8.2250587e-01   5.7543713e-01   3.9189598e-01   2.5978114e-01   1.6758185e-01   1.0517710e-01   6.4203955e-02   3.8107041e-02   2.1983605e-02   1.2322146e-02   6.7082906e-03   3.5458827e-03   1.8191992e-03
1.5488610e-05   2.3502227e-04   8.3562808e-04   2.2594813e-03   5.3318488e-03   1.1500440e-02   2.3159750e-02   4.4047739e-02   7.9667928e-02   1.3764380e-01   2.2786313e-01   3.6223382e-01   5.5387300e-01   8.1560910e-01   1.1578050e+00   1.5856998e+00   2.0966790e+00   2.6780596e+00   3.3060377e+00   3.9463461e+00   4.5568828e+00   5.0921492e+00   5.5088835e+00   5.7719159e+00   5.8591287e+00   5.7645393e+00   5.4989055e+00   5.0877897e+00   4.5675495e+00   3.9801189e+00   3.3676000e+00   2.7675967e+00   2.2099348e+00   1.7150405e+00   1.2938853e+00   9.4914671e-01   6.7710476e-01   4.6979601e-01   3.1704139e-01   2.0810098e-01   1.3284923e-01   8.2475409e-02   4.9785765e-02   2.9215934e-02   1.6663801e-02   9.2355867e-03   4.9725758e-03   2.6002332e-03   1.3202144e-03
1.6208167e-04   4.5888191e-04   1.1424765e-03   2.6091560e-03   5.5748567e-03   1.1265216e-02   2.1669839e-02   3.9849737e-02   7.0260590e-02   1.1901933e-01   1.9400420e-01   3.0465137e-01   4.6131129e-01   6.7407217e-01   9.5105571e-01   1.2963350e+00   1.7077889e+00   2.1753445e+00   2.6801154e+00   3.1948689e+00   3.6860441e+00   4.1172173e+00   4.4535544e+00   4.6664965e+00   4.7377977e+00   4.6621158e+00   4.4476423e+00   4.1146779e+00   3.6924896e+00   3.2151182e+00   2.7169595e+00   2.2288891e+00   1.7754889e+00   1.3736299e+00   1.0323642e+00   7.5385173e-01   5.3492726e-01   3.6890236e-01   2.4727098e-01   1.6110213e-01   1.0202376e-01   6.2800493e-02   3.7571744e-02   2.1845270e-02   1.2342419e-02   6.7753011e-03   3.6130403e-03   1.8713585e-03   9.4124147e-04
2.0573549e-04   4.9886784e-04   1.1324790e-03   2.4327751e-03   4.9775161e-03   9.7405233e-03   1.8283204e-02   3.2984155e-02   5.7278394e-02   9.5851878e-02   1.5470958e-01   2.4101558e-01   3.6260379e-01   5.2709052e-01   7.4059200e-01   1.0061571e+00   1.3221478e+00   1.6809041e+00   2.0680740e+00   2.4629386e+00   2.8399089e+00   3.1711278e+00   3.4298443e+00   3.5939960e+00   3.6493343e+00   3.5914715e+00   3.4264433e+00   3.1696868e+00   2.8436736e+00   2.4746954e+00   2.0894355e+00   1.7119292e+00   1.3613620e+00   1.0509199e+00   7.8767284e-01   5.7328169e-01   4.0522338e-01   2.7821141e-01   1.8554525e-01   1.2021245e-01   7.5664736e-02   4.6269082e-02   2.7487776e-02   1.5864532e-02   8.8947059e-03   4.8441903e-03   2.5624576e-03   1.3164118e-03   6.5671123e-04
1.9382106e-04   4.4327055e-04   9.6540772e-04   2.0110639e-03   4.0188030e-03   7.7201584e-03   1.4278145e-02   2.5452252e-02   4.3769157e-02   7.2660024e-02   1.1650580e-01   1.8051797e-01   2.7038227e-01   3.9161626e-01   5.4864245e-01   7.4365540e-01   9.7544875e-01   1.2384435e+00   1.5221922e+00   1.8115998e+00   2.0879933e+00   2.3309998e+00   2.5209967e+00   2.6417323e+00   2.6826299e+00   2.6403210e+00   2.5190980e+00   2.3302040e+00   2.0901201e+00   1.8182110e+00   1.5341914e+00   1.2558627e+00   9.9746011e-01   7.6877731e-01   5.7506251e-01   4.1753516e-01   2.9429578e-01   2.0138740e-01   1.3380620e-01   8.6327215e-02   5.4084372e-02   3.2905316e-02   1.9441991e-02   1.1155741e-02   6.2163333e-03   3.3638481e-03   1.7676081e-03   9.0189962e-04   4.4680978e-04
1.5800124e-04   3.5067788e-04   7.4643642e-04   1.5271807e-03   3.0081701e-03   5.7114584e-03   1.0462056e-02   1.8501920e-02   3.1607281e-02   5.2182194e-02   8.3287943e-02   1.2855836e-01   1.9195124e-01   2.7730197e-01   3.8768042e-01   5.2460469e-01   6.8722592e-01   8.7165049e-01   1.0705899e+00   1.2735066e+00   1.4673505e+00   1.6378597e+00   1.7712679e+00   1.8561383e+00   1.8849867e+00   1.8553730e+00   1.7702394e+00   1.6374323e+00   1.4685132e+00   1.2771080e+00   1.0771207e+00   8.8112777e-01   6.9919929e-01   5.3826841e-01   4.0204903e-01   2.9139722e-01   2.0495537e-01   1.3990676e-01   9.2695339e-02   5.9613826e-02   3.7216163e-02   2.2554460e-02   1.3269822e-02   7.5794897e-03   4.2030253e-03   2.2627203e-03   1.1826085e-03   6.0004224e-04   2.9555486e-04
1.1712953e-04   2.5538316e-04   5.3593869e-04   1.0839554e-03   2.1150024e-03   3.9841984e-03   7.2503076e-03   1.2751439e-02   2.1682645e-02   3.5657388e-02   5.6726104e-02   8.7318809e-02   1.3007879e-01   1.8756490e-01   2.6182304e-01   3.5386234e-01   4.6311124e-01   5.8696421e-01   7.2054538e-01   8.5680211e-01   9.8699224e-01   1.1015505e+00   1.1912288e+00   1.2483267e+00   1.2677844e+00   1.2479242e+00   1.1906884e+00   1.1013275e+00   9.8760754e-01   8.5870272e-01   7.2398972e-01   5.9196111e-01   4.6942322e-01   3.6106473e-01   2.6939652e-01   1.9499396e-01   1.3693255e-01   9.3299775e-02   6.1684001e-02   3.9573956e-02   2.4638564e-02   1.4887133e-02   8.7299919e-03   4.9686382e-03   2.7446791e-03   1.4715754e-03   7.6579478e-04   3.8679389e-04   1.8961767e-04
8.0751238e-05   1.7405342e-04   3.6183872e-04   7.2613799e-04   1.4076008e-03   2.6370448e-03   4.7764849e-03   8.3674556e-03   1.4180388e-02   2.3253524e-02   3.6904292e-02   5.6692107e-02   8.4311600e-02   1.2140195e-01   1.6927269e-01   2.2856843e-01   2.9892051e-01   3.7865597e-01   4.6464492e-01   5.5235851e-01   6.3617929e-01   7.0995519e-01   7.6773101e-01   8.0453943e-01   8.1710681e-01   8.0433419e-01   7.6745562e-01   7.0984216e-01   6.3649459e-01   5.5333038e-01   4.6640525e-01   3.8120922e-01   3.0214533e-01   2.3224790e-01   1.7314154e-01   1.2519690e-01   8.7812576e-02   5.9747194e-02   3.9436756e-02   2.5254059e-02   1.5690221e-02   9.4583232e-03   5.5322716e-03   3.1398699e-03   1.7292211e-03   9.2412202e-04   4.7924152e-04   2.4117343e-04   1.1777554e-04
5.2399736e-05   1.1205863e-04   2.3143451e-04   4.6188527e-04   8.9117410e-04   1.6629175e-03   3.0018200e-03   5.2433288e-03   8.8638638e-03   1.4504544e-02   2.2977946e-02   3.5245002e-02   5.2349191e-02   7.5299223e-02   1.0490045e-01   1.4154868e-01   1.8501584e-01   2.3427062e-01   2.8738389e-01   3.4156352e-01   3.9334447e-01   4.3892928e-01   4.7463857e-01   4.9739933e-01   5.0518167e-01   4.9729785e-01   4.7450248e-01   4.3887366e-01   3.9350096e-01   3.4204506e-01   2.8825576e-01   2.3553499e-01   1.8661262e-01   1.4337048e-01   1.0681594e-01   7.7178071e-02   5.4082462e-02   3.6757499e-02   2.4231690e-02   1.5494938e-02   9.6113228e-03   5.7833713e-03   3.3759761e-03   1.9118426e-03   1.0503926e-03   5.5989722e-04   2.8955458e-04   1.4528620e-04   7.0728477e-05
3.2235360e-05   6.8550865e-05   1.4090914e-04   2.8008918e-04   5.3855471e-04   1.0019721e-03   1.8041292e-03   3.1444371e-03   5.3057378e-03   8.6682366e-03   1.3713388e-02   2.1010138e-02   3.1175944e-02   4.4807412e-02   6.2380631e-02   8.4129308e-02   1.0991799e-01   1.3913587e-01   1.7064056e-01   2.0277828e-01   2.3349584e-01   2.6054191e-01   2.8173357e-01   2.9524582e-01   2.9987103e-01   2.9519718e-01   2.8166836e-01   2.6051535e-01   2.3357107e-01   2.0300948e-01   1.7105905e-01   1.3974268e-01   1.1068428e-01   8.5003536e-02   6.3299794e-02   4.5708972e-02   3.2007637e-02   2.1735886e-02   1.4314973e-02   9.1434543e-03   5.6643866e-03   3.4035612e-03   1.9836568e-03   1.1214110e-03   6.1495044e-04   3.2711684e-04   1.6879601e-04   8.4493911e-05   4.1029727e-05
```
```;;; images.pro: to run this script, at the idl prompt type
;;; .run images
;;;
;;; this script shows how to load in an image, display and
;;; manipulate it
;;;
;;; requires graphics file calvin.gif

go = strarr(1)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

print, 'Read in gif file and display it'

; read in the gif file named calvin.gif and store it
; in the variable calvin1, and display it
read_gif, 'calvin.gif', calvin1, r, g, b
tvlct, r, g, b
tv, calvin1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

print, 'Erase screen'

; erase screen
erase

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

print, 'Dissolve image'

; use built-in dissolve function, which displays the image
; in scattered tiles and fills it all in
dissolve, calvin1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
print, 'Read image from screen and store to another variable'
print, 'Delete current window, open a new window
print, 'Display newly saved image'

; read the current image in and store it in the variable calvin2,
; delete current window and open a new window with a title of a
; specific size, and display the new variable calvin2
calvin2 = tvrd()
wdelete
window, 0, xsize=512, ysize=384, title='SWIG Window'
tv, calvin2

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

print, 'Zoom in interactively'

; use the built-in zoom function, which allows one to zoom
; in interactively on the image displayed
zoom

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

print, 'Add the image to itself'

; add the image to itself and display the results
tv, calvin2 + calvin2

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

print,'Smooth image and add it to itself'

; smooth the image, add it to itself and display the results
tvscl, calvin2 + smooth(calvin2,3)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

print, 'Inverse video by subtracting max value'

; find the max of the image calvin2 and subtract it from
; calvin2 and display the results
tv, calvin2 - max(calvin2)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

print,'Apply a median filter'

; apply a median filter using a neighborhood of 9 pixels
tvscl, median(calvin2,9)