Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Counting in binary is just like counting in decimal -- if you are all thumbs. -- Glaser and Way


computers / comp.graphics.apps.gnuplot / Getting gnuplot to work on Windows

SubjectAuthor
* Getting gnuplot to work on WindowsDavid Partridge
`- Re: Getting gnuplot to work on WindowsDavid Partridge

1
Subject: Getting gnuplot to work on Windows
From: David Partridge
Newsgroups: comp.graphics.apps.gnuplot
Date: Mon, 13 Sep 2021 15:46 UTC
X-Received: by 2002:ad4:57a7:: with SMTP id g7mr269769qvx.42.1631547992836;
Mon, 13 Sep 2021 08:46:32 -0700 (PDT)
X-Received: by 2002:a25:30c2:: with SMTP id w185mr16631817ybw.321.1631547992659;
Mon, 13 Sep 2021 08:46:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Mon, 13 Sep 2021 08:46:32 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=185.108.105.142; posting-account=_GXlJgkAAAB1VeH1q7meY52ClkyHnQHd
NNTP-Posting-Host: 185.108.105.142
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4cf125f2-44cf-4700-8443-c5cbde61e1e2n@googlegroups.com>
Subject: Getting gnuplot to work on Windows
From: david.pa...@perdrix.co.uk (David Partridge)
Injection-Date: Mon, 13 Sep 2021 15:46:32 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 24
View all headers
C:\Users\amonra\Downloads\Losmandy\PLOTS>dir
 Volume in drive C is Apollo
 Volume Serial Number is 172D-FED0

 Directory of C:\Users\amonra\Downloads\Losmandy\PLOTS

13/09/2021  16:06    <DIR>          .
13/09/2021  16:06    <DIR>          ..
13/09/2021  15:57           162,486 Servos.log
13/09/2021  16:12                42 setpath.bat
13/09/2021  15:59                 0 Test.gnuplot
               3 File(s)        162,528 bytes
               2 Dir(s)  1,246,003,449,856 bytes free

C:\Users\amonra\Downloads\Losmandy\PLOTS>

The setpath.bat simply does: PATH = C:\Program Files\gnuplot\bin;%PATH% so that gnuplot can be invoked directly.  The file Servos.log is the data and Test.gnuplot says:

set datafile separator ','
plot "servos.log" using 1:2 with lines, '' using 1:3 with lines

If I type gnuplot -p Test.gnuplot nothing seems to happen ?? What am I doing wrong?

Thanks
David


Subject: Re: Getting gnuplot to work on Windows
From: David Partridge
Newsgroups: comp.graphics.apps.gnuplot
Date: Mon, 13 Sep 2021 16:15 UTC
References: 1
X-Received: by 2002:a0c:dc09:: with SMTP id s9mr367929qvk.61.1631549702052;
Mon, 13 Sep 2021 09:15:02 -0700 (PDT)
X-Received: by 2002:a25:1683:: with SMTP id 125mr16226378ybw.164.1631549701901;
Mon, 13 Sep 2021 09:15:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Mon, 13 Sep 2021 09:15:01 -0700 (PDT)
In-Reply-To: <4cf125f2-44cf-4700-8443-c5cbde61e1e2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=185.108.105.142; posting-account=_GXlJgkAAAB1VeH1q7meY52ClkyHnQHd
NNTP-Posting-Host: 185.108.105.142
References: <4cf125f2-44cf-4700-8443-c5cbde61e1e2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <abfb470f-8585-4596-9036-5432432a67e4n@googlegroups.com>
Subject: Re: Getting gnuplot to work on Windows
From: david.pa...@perdrix.co.uk (David Partridge)
Injection-Date: Mon, 13 Sep 2021 16:15:02 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 27
View all headers
On Monday, September 13, 2021 at 4:46:33 PM UTC+1, David Partridge wrote:
C:\Users\amonra\Downloads\Losmandy\PLOTS>dir
Volume in drive C is Apollo
Volume Serial Number is 172D-FED0

Directory of C:\Users\amonra\Downloads\Losmandy\PLOTS

13/09/2021 16:06 <DIR> .
13/09/2021 16:06 <DIR> ..
13/09/2021 15:57 162,486 Servos.log
13/09/2021 16:12 42 setpath.bat
13/09/2021 15:59 0 Test.gnuplot
3 File(s) 162,528 bytes
2 Dir(s) 1,246,003,449,856 bytes free

C:\Users\amonra\Downloads\Losmandy\PLOTS>

The setpath.bat simply does: PATH = C:\Program Files\gnuplot\bin;%PATH% so that gnuplot can be invoked directly. The file Servos.log is the data and Test.gnuplot says:

set datafile separator ','
plot "servos.log" using 1:2 with lines, '' using 1:3 with lines

If I type gnuplot -p Test.gnuplot nothing seems to happen ?? What am I doing wrong?

Thanks
David

Problem solved - it needed a CRLF at the end of the 2nd line in the gnuplot file.


1
rocksolid light 0.7.2
clearneti2ptor