Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail From: Kurt Sterau Newsgroups: comp.graphics.apps.gnuplot Subject: Re: skip binary data Date: Mon, 29 Oct 2012 20:26:34 +0100 Organization: none Lines: 17 Message-ID: <87txtdnkph.fsf@kerstf.org> References: <874nlddzzs.fsf@kerstf.org> Mime-Version: 1.0 Content-Type: text/plain X-Trace: news.albasani.net 2zVKVRKBNYZlGYf9KT1bthoF+Mt4RKRJscb6qQYBdSCxTCZvR67NGeDpNOl6KCdQSxDpSOv6DpLh3KkSKY9x2EuAp+o3giH81w4qr+tw14pWe0UIhMHulaiz6aDRo+uF NNTP-Posting-Date: Mon, 29 Oct 2012 19:26:35 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="noRVwiDvFS6N98TGoyaGXavtJZmPSMc+GvVYI4zkBrH2qX3XNHtsbN/mwd6QxqQ93+PTeDPhc/xBWjLZPrQKsQUL+Rpm94IwZKMPDDkb/PlT4XKCWV8wXB3rGS04eyAp"; mail-complaints-to="abuse@albasani.net" Cancel-Lock: sha1:OzUomm5HJr4NVued/wsr3aFVW/0= sha1:7OKzilarZpwUNw4D9oPq3QDSC5w= Xref: csiph.com comp.graphics.apps.gnuplot:1450 >> plot 'data.bin' binary format='%int8' u ($0):($1) with line lt 1 >> >> This works as expected, but unfortunately the file has 2507 Bytes and I >> have to skip the first 6 Bytes und the last one. Only 2500 Bytes are of >> interest. Can this be achieved within gnuplot 4.6 patchlevel 0 on Linux? >> Or is there any other tool to achieve this? > > > help binary skip plot 'data.bin' binary skip=6 format='%int8' u ($0):($1) with line lt 1 The first 6 Bytes are skipped now, thanks. But what about the last byte? How can I suppress this? -- Kurt