Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #522

Re: Error message "';' expected"

From James Waldby <not@valid.invalid>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Error message "';' expected"
Date 2011-08-07 15:24 +0000
Organization A noiseless patient Spider
Message-ID <j1mamv$f5g$1@dont-email.me> (permalink)
References <j1ldpi$3tn$1@online.de> <9a7gblFmlmU1@mid.dfncis.de>

Show all headers | View raw


On Sun, 07 Aug 2011 14:56:24 +0200, Hans-Bernhard Bröker wrote:

> On 07.08.2011 09:10, Markus wrote:
> 
>> plot "/var/log/fhem/KS300-2011.log" using 1:4 title 'Aussentemperatur'
>> smooth unique with lines 1, "/var/log/fhem/KS300-2011.log" using 1:6
>> title 'Luftfeuchtigkeit' smooth unique with lines 3
>>                           ^
>> "KS300_plot", line 19: ';' expected
>>
>> It says that behind "lines 1" it expects a semicolon...
> 
> Actually no.  It expects one between "lines" and "1", because current
> gnuplot doesn't allow a "1" in that place.
> 
> That syntax (linetype specification with just a number, but no keyword)
> has been deprecated for several years now.  It had never been an
> officially documented feature anyway, and was removed ages ago.  Have a
> look at "help plot style" to see how it's done.

Perhaps when Markus' script formerly worked, 'lines' was accepted
as an abbreviation of 'linestyle', and now is being taken as the 
<style>-designator keyword 'lines'.  Markus, do you know the version
numbers of gnuplot that you formerly used, and are using now?

Anyhow, changing lines to ls in the script may fix the problem.

-- 
jiw

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Error message "';' expected" Markus <markusd112@web.de> - 2011-08-07 09:10 +0200
  Re: Error message "';' expected" Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-08-07 14:56 +0200
    Re: Error message "';' expected" James Waldby <not@valid.invalid> - 2011-08-07 15:24 +0000
      Re: Error message "';' expected" Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-08-07 17:42 +0200
        Re: Error message "';' expected" Markus <markusd112@web.de> - 2011-08-08 18:58 +0200

csiph-web