Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1539
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2012-12-10 22:21 -0800 |
| References | <e20df514-1eaa-4f2d-88de-2b46a99c880c@googlegroups.com> |
| Message-ID | <3415ca48-5a12-467e-a08a-38b2528fb58d@googlegroups.com> (permalink) |
| Subject | Re: plot raw binary data (2byte; little endian) |
| From | der.michaelg@googlemail.com |
The answer lies within the format: instead of "%uint" use "%uint16" > Hey there, > > I have a little problem with displaying my raw binary data. > > > > my data looks like this (in the hexeditor that is): > > 01 00 32 00 64 00 32 00 01 00 01 00 32 00 64 00 32 00 01 00 01 00 32 00 64 00 32 00 01 00 01 01 32 00 64 00 32 00 01 00 01 00 32 00 64 00 32 00 01 00 01 00 32 00 64 00 32 00 01 00 > > > > so it should display 5 columns and 6 rows. 5 vertical stripes with one "wrong" pixel. > > > > I looked around and tried a couple of different things, but the best thing I could come up with was: > > plot 'filename' binary array=(5,6) format="%uint" endian=little > > with image > > > > which doesn't really work. I get some stripes, but they are in the wrong order and the amount of rows doesn't match... > > > > Any suggestion to what might be wrong? > > Thanks in advance! > > > > Michael
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
plot raw binary data (2byte; little endian) der.michaelg@googlemail.com - 2012-12-10 18:17 -0800 Re: plot raw binary data (2byte; little endian) der.michaelg@googlemail.com - 2012-12-10 22:21 -0800
csiph-web