Path: csiph.com!aioe.org!.POSTED!not-for-mail From: Janis Papanagnou Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Histogram sample data on gnuplot.sourceforge.net Date: Tue, 26 Jan 2016 17:35:32 +0100 Organization: Aioe.org NNTP Server Lines: 21 Message-ID: References: NNTP-Posting-Host: 2D/T89+Hc64+uSQNnqm7Sw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.graphics.apps.gnuplot:3174 On 26.01.2016 16:17, Janis Papanagnou wrote: > [ http://gnuplot.sourceforge.net/demo/histograms.html ] > Now that I see that specific data let me add a question... > That file contains comment lines, a data heading line, and the data (numbers). > Some data positions have no numbers but a dash character ('-') instead; I'd > assume that it's interpreted as 0 (zero). Will gnuplot only in such numeric > contexts, or generally interpret that dash as 0 (zero)? In other words; if I > have data like 5 6 7 - 8 , will that always be interpreted as 5 6 7 0 8 or > might the '-' be skipped in some cases to become 5 6 7 8 ? (I suppose it's > not skipped but want to be sure.) I also suppose that a '-' in the header > line, say "Austria Hungary - Belgium ..." will be taken literally as '-'; > right? The samples on the web-page haven't shown that piece of code, but the linked sources did. To answer my question; it's obviously controlled by the command: set datafile missing '-' Janis