home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!swrinde!gatech!uflorida!bikini!wdn
- From: wdn@beach.cis.ufl.edu (William Dean Norris II)
- Newsgroups: comp.graphics.gnuplot
- Subject: Re: column filter for use with gnuplot
- Message-ID: <WDN.93Jan26223213@beach.cis.ufl.edu>
- Date: 27 Jan 93 03:32:13 GMT
- References: <1jk0qdINN611@swrinde.nde.swri.edu>
- Sender: news@uflorida.cis.ufl.edu
- Followup-To: comp.graphics.gnuplot
- Organization: /cis/thunder0/wdn/.organization
- Lines: 27
- Nntp-Posting-Host: beach.cis.ufl.edu
- In-reply-to: jss@stanley.nde.swri.edu's message of 20 Jan 93 17:06:21 GMT
-
- >>>>> On 20 Jan 93 17:06:21 GMT, jss@stanley.nde.swri.edu (Jeff Stolte) said:
- jss! Followup-To: comp.graphics.gnuplot
- jss! NNTP-Posting-Host: stanley.nde.swri.edu
-
- jss! I have heard about a filter program that can be used to select
- jss! specified columns from an ascii data file and have its output
- jss! piped to gnuplot. I do not remember what the program is called
- jss! or where it is available. Does anyone know of such a program?
-
- Try cut(1) or awk(1) if you are using a *ix system.
-
- cut should work in all of the cases I can think of, it is what I use.
- Usually I print out all four variables and then plot them 3 at a time.
-
-
- cat file | cut -f1-3 -d" " > plot1
- cat file | cut -f1,2,4 -d" " > plot2
- cat file | cut -f1,3,4 -d" " > plot3
- etc...
-
- dean.
-
- --
- -----
- William Dean Norris II "Perhaps all pleasure is relief"
- University of Florida William Lee
- wdn@cis.ufl.edu
-