home *** CD-ROM | disk | FTP | other *** search
- 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
- Newsgroups: comp.graphics.gnuplot
- Subject: Re: simple splot question...
- Message-ID: <92317.161859RLD@psuvm.psu.edu>
- From: Robert L. Divany <RLD@psuvm.psu.edu>
- Date: Thu, 12 Nov 1992 16:18:58 EST
- References: <BxGEIJ.MGF@math.uwaterloo.ca><JACKSON.92Nov9120154@pallas.phobos.sscl.uwo.ca>
- <1992Nov11.063152.15928@leland.Stanford.EDU> <7mcqmvn@lynx.unm.edu>
- Distribution: na
- Organization: Penn State University
- Lines: 42
-
- In article <7mcqmvn@lynx.unm.edu>, jdaves@triton.unm.edu (Jonathan Daves-Brody)
- says:
- >
- >In article <1992Nov11.063152.15928@leland.Stanford.EDU> U
- >wolf@leland.Stanford.ED
- >(Andy Wolfsberg) writes:
- >>In article <JACKSON.92Nov9120154@pallas.phobos.sscl.uwo.ca>
- >jackson@pallas.phobos.sscl.uwo.ca (Peter L. Jackson) writes:
- >>>
- >>>I would like to use splot to contour and draw a surface of gridded
- >>>data read from a file. Is this possible? All I can do so far is plot
- >>>the actual data points. Here is what I do:
- >>>
- >>>set parametric
- >>>set surface
- >>>splot "test.data"
- >>>
- >>>which plots the data points, but no surface connecting them.
- >>>
- (stuff deleted)
- >The data file should consist of blocks of point triplets. Each block
- >should be the same number of lines long, and each block should be separated
- >from the other blocks by a CR/LF. Each block represents a line along the
- >surface in one direction. If the blocks are all the same length, gnuplot
- >assumes a bunch of parallel lines (or something).
- more stuff deleted
-
- I usually just follow the output of the block of triplets with
- a blank line with a statement like the following.
-
- write(iounit,*)
-
- And then use a gnuplot command like
-
- splot "datafile" w l
- (the w l is short for with lines)
-
-
- -----------------
- Bob Divany
- COMMUNICATIONS & SPACE SCIENCES LAB.
- Penn State University
-