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


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

Re: skip binary data

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 <kurt.sterau@trash-mail.com>
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> (permalink)
References <874nlddzzs.fsf@kerstf.org> <k6mg4n$b72$1@dont-email.me>
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

Show key headers only | View raw


>> 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

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


Thread

skip binary data Kurt Sterau <kurt.sterau@trash-mail.com> - 2012-10-29 17:06 +0100
  Re: skip binary data sfeam <sfeam@users.sourceforge.net> - 2012-10-29 10:58 -0700
    Re: skip binary data Kurt Sterau <kurt.sterau@trash-mail.com> - 2012-10-29 20:26 +0100
      Re: skip binary data Kurt Sterau <kurt.sterau@trash-mail.com> - 2012-10-29 21:39 +0100

csiph-web