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