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


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

Re: skip binary data

From Kurt Sterau <kurt.sterau@trash-mail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: skip binary data
Date 2012-10-29 20:26 +0100
Organization none
Message-ID <87txtdnkph.fsf@kerstf.org> (permalink)
References <874nlddzzs.fsf@kerstf.org> <k6mg4n$b72$1@dont-email.me>

Show all headers | 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