Credits | Overview | Plotting Styles | Commands | Terminals
--- | --- | --- | --- | ---

## nonuniform matrix

The first row of input data contains the y coordinates. The first column of input data contains the x coordinates. For binary input data, the first field of the first row must contain the number of columns. (This number is ignored for text input).

Example commands for plotting non-uniform matrix data:

         splot 'file' nonuniform matrix using 1:2:3  # text input
         splot 'file' binary matrix using 1:2:3      # binary input

Thus the data organization for non-uniform matrix input is

          <N+1>  <x0>   <x1>   <x2>  ...  <xN>
           <y0> <z0,0> <z0,1> <z0,2> ... <z0,N>
           <y1> <z1,0> <z1,1> <z1,2> ... <z1,N>
            :      :      :      :   ...    :

which is then converted into triplets:

          <x0> <y0> <z0,0>
          <x0> <y1> <z0,1>
          <x0> <y2> <z0,2>
           :    :     :
          <x0> <yN> <z0,N>

          <x1> <y0> <z1,0>
          <x1> <y1> <z1,1>
           :    :     :

These triplets are then converted into gnuplot iso-curves and then gnuplot proceeds in the usual manner to do the rest of the plotting.