Array Graphics in Color
18a: Display array data using a color map
| 1. Create a 32×32 array Z 2. Define z(x,y) = exp(-((x/15)2 + (y/12)2)) for x in [-5,26] and y in [-10,10] 3. Display as a ``density'' plot 4. Create and use color map for hue in [0,0.67] |
| Mathematica:
(1,2) (3) (4) |
Matlab:
(1) (2) (3) (4) |
| Maple: | IDL: |
