home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics.gnuplot
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!rsm1.physics.uiuc.edu!lewart
- From: d-lewart@uiuc.edu (Daniel S. Lewart)
- Subject: Re: plot help ?
- References: <1993Jan20.232446.1@utxvms.cc.utexas.edu>
- Message-ID: <C178uH.M7E@news.cso.uiuc.edu>
- Originator: lewart@rsm1.physics.uiuc.edu
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Reply-To: d-lewart@uiuc.edu (Daniel S. Lewart)
- Organization: UIUC Physics Department
- Date: Thu, 21 Jan 1993 10:23:04 GMT
- Lines: 31
-
- In article <1993Jan20.232446.1@utxvms.cc> mtaw621@utxvms.cc.utexas.edu writes:
-
- > I am a novice in gnuplot.
-
- Read the manual.
-
- > I need to draw an orthant (x by y) where [x=0:10] and [y=0:10]
- > and plot on it two straight lines:
- > the first goes horizontally from x=1 to x=3 at y=2 and
- > the second one goes vertically at x=5 from y=1 to y=7.
-
- Below are the data file ('doi.dat') and the `gnuplot' script file.
-
- Daniel Lewart
- d-lewart@uiuc.edu
- -------------------------------------------------------------------------------
- # the first goes horizontally from x=1 to x=3 at y=2 and
- 1 2
- 3 2
-
- # the second one goes vertically at x=5 from y=1 to y=7.
- 5 1
- 5 7
- -------------------------------------------------------------------------------
- set data style lines
- set xrange [0:10]
- set yrange [0:10]
-
- plot 'doi.dat'
- pause -1 'Hit return to continue'
- -------------------------------------------------------------------------------
-