data file format for pm3d

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

data file format for pm3d

Gavin Buxton
this is from the help splot - datafile - example
thingy (just type help)

splot 'datafile.dat'

 where the file "datafile.dat" might contain:

       # The valley of the Gnu.
          0 0 10
          0 1 10
          0 2 10

          1 0 10
          1 1 5
          1 2 10

          2 0 10
          2 1 1
          2 2 10

          3 0 10
          3 1 0
          3 2 10

Hope that helped. You can also splot matrix data....
using splot 'datafile.dat' matrix. Again from the help
pages:

 The `matrix` flag indicates that the ASCII data are
stored in matrix format.
 The z-values are read in a row at a time, i. e.,
       z11 z12 z13 z14 ...
       z21 z22 z23 z24 ...
       z31 z32 z33 z34 ...
 and so forth.  


Gavin.


               
__________________________________
Discover Yahoo!
Stay in touch with email, IM, photo sharing and more. Check it out!
http://discover.yahoo.com/stayintouch.html


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Gnuplot-info mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gnuplot-info