home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / graphics / gnuplot / 366 < prev    next >
Encoding:
Internet Message Format  |  1992-11-13  |  1.9 KB

  1. Path: sparky!uunet!ornl!rsg1.er.usgs.gov!darwin.sura.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!hamblin.math.byu.edu!yvax.byu.edu!cunyvm!psuvm!rld
  2. Newsgroups: comp.graphics.gnuplot
  3. Subject: Re: simple splot question...
  4. Message-ID: <92317.161859RLD@psuvm.psu.edu>
  5. From: Robert L. Divany <RLD@psuvm.psu.edu>
  6. Date: Thu, 12 Nov 1992 16:18:58 EST
  7. References: <BxGEIJ.MGF@math.uwaterloo.ca><JACKSON.92Nov9120154@pallas.phobos.sscl.uwo.ca>
  8.  <1992Nov11.063152.15928@leland.Stanford.EDU> <7mcqmvn@lynx.unm.edu>
  9. Distribution: na
  10. Organization: Penn State University
  11. Lines: 42
  12.  
  13. In article <7mcqmvn@lynx.unm.edu>, jdaves@triton.unm.edu (Jonathan Daves-Brody)
  14. says:
  15. >
  16. >In article <1992Nov11.063152.15928@leland.Stanford.EDU>                       U
  17. >wolf@leland.Stanford.ED
  18. >(Andy Wolfsberg) writes:
  19. >>In article <JACKSON.92Nov9120154@pallas.phobos.sscl.uwo.ca>
  20. >jackson@pallas.phobos.sscl.uwo.ca (Peter L. Jackson) writes:
  21. >>>
  22. >>>I would like to use splot to contour and draw a surface of gridded
  23. >>>data read from a file. Is this possible?  All I can do so far is plot
  24. >>>the actual data points. Here is what I do:
  25. >>>
  26. >>>set parametric
  27. >>>set surface
  28. >>>splot "test.data"
  29. >>>
  30. >>>which plots the data points, but no surface connecting them.
  31. >>>
  32.   (stuff deleted)
  33. >The data file should consist of blocks of point triplets.  Each block
  34. >should be the same number of lines long, and each block should be separated
  35. >from the other blocks by a CR/LF.  Each block represents a line along the
  36. >surface in one direction.  If the blocks are all the same length, gnuplot
  37. >assumes a bunch of parallel lines (or something).
  38. more stuff deleted
  39.  
  40.      I usually just follow the  output of the block of triplets with
  41.   a blank line with a statement like the following.
  42.  
  43.            write(iounit,*)
  44.  
  45.      And then use a gnuplot command like
  46.  
  47.            splot "datafile" w l
  48.      (the w l is short for with lines)
  49.  
  50.  
  51. -----------------
  52. Bob Divany
  53. COMMUNICATIONS & SPACE SCIENCES LAB.
  54. Penn State University
  55.