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

  1. Newsgroups: comp.graphics.gnuplot
  2. Path: sparky!uunet!ukma!wupost!spool.mu.edu!umn.edu!lynx!triton.unm.edu!jdaves
  3. From: jdaves@triton.unm.edu (Jonathan Daves-Brody)
  4. Subject: Re: gnuplot
  5. Message-ID: <wkjq20=@lynx.unm.edu>
  6. Date: Mon, 16 Nov 92 16:16:23 GMT
  7. Organization: University of New Mexico, Albuquerque
  8. References: <109*he@physics.ubc.ca>
  9. Lines: 21
  10.  
  11. In article <109*he@physics.ubc.ca> he@physics.ubc.ca (Xing-Fei He) writes:
  12. >Hi there,
  13. >  We are using gnuplot (unix ver 3.0) on sun system to plot datafiles in
  14. >3D.  We could not find a way to hide the invisible parts of the lines
  15. >drawn as a surface.  Does this pakage have such function? I would greatly
  16. >appreciate your reply.  Thank you.
  17. >  Xing-Fei He
  18. >  Physics Dept. University of British Columbia
  19.  
  20. Gnuplot does have a hidden line removal: set hidden.  However, it is only
  21. supposed to work on data files that are not parametric, ie, the data file
  22. is a single column of numbers (z), and the x and y values are taken to be
  23. the indices.  Hidden line removal will supposedly not work for parametric
  24. data sets, ie, plotting three columns of numbers.  However, I have gotten
  25. it to work by doing the following (assume three columns of numbers, x:y:z):
  26.     set hidden
  27.     splot 'dataset' using 3
  28.     set parametric
  29.     splot 'dataset' using 1:2:3
  30. I don't really know why this works, but it seems to trick gnuplot somehow.
  31. I have only tried this on wgnuplot (windows), not on any unix machine
  32.