Path: csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Karl Ratzsch Newsgroups: comp.graphics.apps.gnuplot Subject: Re: chart disappears when i add xrange / yrange to binary array plot of radio spectrogram data Date: Wed, 2 Mar 2016 00:33:36 +0100 Organization: solani.org Lines: 15 Message-ID: References: <8bd1c7cb-da40-4d20-a789-4e5c6ebd31a0@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: solani.org 1456875226 30191 eJwFwYEBwCAIA7CXxmwrnIPd+P8EEy6FvCEKHM5XK03gLzJWcjDh1/JTTu6xTnfjQCom6wIS2RDA (1 Mar 2016 23:33:46 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 1 Mar 2016 23:33:46 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 X-User-ID: eJwFwQkBwDAIA0BLZSHA5FAe/xJ6R5hYuRpNuVxJJLUgA5ETuLH2zwWx60fZXvV1NUUnteIBE0IRJA== In-Reply-To: <8bd1c7cb-da40-4d20-a789-4e5c6ebd31a0@googlegroups.com> Cancel-Lock: sha1:OIA5OwPgUAER+XCb4bp22JlKwt4= X-NNTP-Posting-Host: eJwFwQkRADAIAzBNfIXJ6cbVv4QlFTC8ThSyVKKRm8EXZ+Q0wFpjmA2Fwy+dN/esuq3LPyFJEPs= Xref: csiph.com comp.graphics.apps.gnuplot:3249 Am 01.03.2016 um 14:58 schrieb Mario Cannistrà: > They are created as a sequence of float values and I'm > successfully reading them as array=8000x79 (for this test) > where 8000 are the frequency bins and 79 are the scans made and > recorded. Real files will reach at least 100 MB size and this is > why they are in binary format and not in csv. For the same reason > I'm storing only z values and NO x,y (timestamps, frequencies). > Gnuplot cannot magically deduce the time & frequency from the range settings. You need to calculate them from the indices $1 and $2 of your matrix via a "using" statement: plot datafile binary matrix=... using (t($1)):(f($2)):3 with image