Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.unit0.net!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!feed.xsnews.nl!border-1.ams.xsnews.nl!feeder.xennanews.com!nf41.xennanews.com!not-for-mail Message-ID: <5130B8EA.9040709@syscom-instruments.com> Date: Fri, 01 Mar 2013 15:19:22 +0100 From: avd User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 MIME-Version: 1.0 Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Create timeline and plot it with binary datas References: <36795$5130890d$3e0c929a$8960@nf39.xennanews.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@xennanews.com Organization: Xennanews Lines: 43 NNTP-Posting-Host: 62.12.146.154 (62.12.146.154) NNTP-Posting-Date: Fri, 01 Mar 2013 15:20:54 +0100 X-Received-Bytes: 2022 Xref: csiph.com comp.graphics.apps.gnuplot:1679 On 01. 03. 13 14:51, Karl wrote: > Am 01.03.2013 11:53, schrieb avd: >> plot \ >> "mydata" binary skip=512 format="%lf%*lf%*lf" using >> genx($0):(inscale($1)) title "x" with lines,\ > > >> # Curve title: "x" >> # x y type >> "g" 0.0664117 i >> "g" 0.0633014 i >> "g" 0.0571437 i > >> Why there "g" for my x data :( ? > > I cannot try now, not having your data, but this should not print at > all, since you´ve got the "using" statment wrong. > > There have to be parentheses () around everything that is more than just > a column number. > > from "help using": > > "Each may be a simple column number that selects the value from > one field of the input file, a string that matches a column label in the > first line of a data set, an expression enclosed in parentheses, or a > special function not enclosed in parentheses such as xticlabels(2). " > > so > > gp> plot "" using (genx($0)):(inscale($1)) > > if your plot command indeed produces this output, then this looks like a > bug in the parser, that you should report. > > Karl > > Thanks Karl, this was my mistake :) Anthony.