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


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

Re: chart disappears when i add xrange / yrange to binary array plot of radio spectrogram data

From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: chart disappears when i add xrange / yrange to binary array plot of radio spectrogram data
Date 2016-03-01 23:29 +0100
Message-ID <djmjdpFgl8sU1@mid.dfncis.de> (permalink)
References <8bd1c7cb-da40-4d20-a789-4e5c6ebd31a0@googlegroups.com> <djmabiFe9jrU1@mid.dfncis.de> <b05f798c-1ff0-4974-ab0d-24c36be2f3f3@googlegroups.com>

Show all headers | View raw


Am 01.03.2016 um 22:07 schrieb Mario Cannistrà:

> If I correctly understand, xrange is actually a filter that I'm
> applying on x axis values (values that I should keep in the file,
> currently absent).

Yes.  A fixed axis range defines the range of the plot itself, and 
thereby filters the corresponding coordinate of the data and functions 
being plotted.

> Actually I don't understand where the x values 01:06:00 to 01:07:18
> are coming from, since i intentionally stored only the Z values in
> the file.

I suspect the fact that 01:06:00 h equals 4000 seconds past midnight, 
which just so happends to be half the number of samples in one dimension 
of your dataset, might have something do do with that.

> About my next tentative: should I change the binary file structure to
> contain all info (x,y,z = time, frequencies,z), which format should I
> use for time ? would be ok a 32 bit integer ? I remember of binary
> "matrix" format I've read about, would that be fine and able to
> contain integers for x,y and float for z ?

No.  You would have to do a double-precision matrix, with %double for 
all values.  See "help binary" for the gory details.

> As an alternative to all that: would it be possible to just produce
> all the labels with some loop, avoiding usage of "xrange" so that i
> can get the plot with the current binary file structure?

The much simpler approach would probably be to apply "help using".

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


Thread

chart disappears when i add xrange / yrange to binary array plot of radio spectrogram data Mario Cannistrà <mariocannistra@gmail.com> - 2016-03-01 05:58 -0800
  Re: chart disappears when i add xrange / yrange to binary array plot of radio spectrogram data Mario Cannistrà <mariocannistra@gmail.com> - 2016-03-01 06:07 -0800
  Re: chart disappears when i add xrange / yrange to binary array plot of radio spectrogram data Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-03-01 20:54 +0100
    Re: chart disappears when i add xrange / yrange to binary array plot of radio spectrogram data Mario Cannistrà <mariocannistra@gmail.com> - 2016-03-01 13:07 -0800
      Re: chart disappears when i add xrange / yrange to binary array plot of radio spectrogram data Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-03-01 23:29 +0100
        Re: chart disappears when i add xrange / yrange to binary array plot of radio spectrogram data Mario Cannistrà <mariocannistra@gmail.com> - 2016-03-02 01:08 -0800
  Re: chart disappears when i add xrange / yrange to binary array plot of radio spectrogram data Karl Ratzsch <mail.kfr@gmx.net> - 2016-03-02 00:33 +0100
    Re: chart disappears when i add xrange / yrange to binary array plot of radio spectrogram data Mario Cannistrà <mariocannistra@gmail.com> - 2016-03-02 01:13 -0800

csiph-web