home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / graphics / gnuplot / 440 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.1 KB  |  33 lines

  1. x-gateway: rodan.UU.NET from info-gnuplot to comp.graphics.gnuplot; Mon, 23 Nov 1992 14:29:03 EST
  2. Date: Mon, 23 Nov 1992 13:18:04 -0600
  3. From: jfshao@everest.ee.umn.edu (Jian Fena Shao)
  4. Message-ID: <199211231918.AA16958@everest.ee.umn.edu>
  5. Apparently-To: <info-gnuplot@ames.arc.nasa.gov>
  6. Newsgroups: comp.graphics.gnuplot
  7. Path: sparky!uunet!wendy-fate.uu.net!info-gnuplot
  8. Sender: info-gnuplot-request@arc.nasa.gov
  9. Subject: (no subject given!)
  10. Lines: 21
  11.  
  12. Hi, I got a trivial question about 3-D plot. I have a datafile as follows:
  13.  
  14. # x        y         z
  15.  10.0     1.0        90
  16.  10.0     1.5        100
  17.  10.0     2.0        90
  18.  12.5     1.0        90
  19.  12.5     1.5        100
  20.  12.5     2.0        90
  21.  15.0     1.0        90
  22.  15.0     1.5        100
  23.  15.0     2.0        90
  24.  
  25. What I want to draw is a 3-d surface with grid lines. The gnuplot command I
  26. typed were:    set term x11
  27.                set parametric
  28.                splot "datafile" w linesp
  29. Instead, I got a plot in which each two consecutive data points are connected
  30. by a line. It is not a good display at all. Is there some way to get the grid
  31. surface or I missed something?
  32. I appreciate your help.
  33.