next up previous contents
Next: Asymmetric Errors Up: Examples Previous: 1D dataset

2D dataset

ICL> IMPORT test.dat output
 
  TOPLEVEL TITLE "Test" TYPE "Image" LABEL ~  ; Continuation
    "Flux" +                                  ; And another one
     UNITS "mJy"
  ;
  AXIS LABEL "X_COORD" UNITS "femto-parsecs"  ; 1st axis
  AXIS UNITS "miles" LABEL "Y_COORD"          ; 2nd axis
  DATA                                        ; data array
  *
  2 2 7    ; Note data values are jumbled - IMPORT still places
  1 2 4    ; them correctly.
  3 3 45
  1 1 3
  2 3 8
  3 1 4
  1 3 5
  3 2 10
  2 1 6
The above example creates,
 .TITLE                         "Test"
 .TYPE                          "Image"
 .AXIS[2]
    .AXIS(1)
       .LABEL                   "X_COORD"
       .UNITS                   "femto_parsecs"
       .DATA_ARRAY[3]           1.0, 2.0, 3.0
    .AXIS(2)
       .LABEL                   "Y_COORD"
       .UNITS                   "miles"
       .DATA_ARRAY[3]           1.0, 2.0, 3.0
 .DATA_ARRAY[3,3]                3  6  4
                                 4  7 10
                                 5  8 45
 .HISTORY


Web Master
Tue Oct 7 10:18:50 BST 1997