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 16:17:00 +0100 Organization: Aioe.org NNTP Server Lines: 25 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-Enigmail-Draft-Status: N1110 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.graphics.apps.gnuplot:3173 On 26.01.2016 15:31, Karl Ratzsch wrote: > Am 26.01.2016 um 15:16 schrieb Janis Papanagnou: >> I'm looking for specific histogram samples, gnuplot code with sample data. >> On http://gnuplot.sourceforge.net/demo/histograms.html there's the graphic >> plots and the code, but the used data to create the plots (immigration.dat) >> seems to be missing. Does someone maybe has a link to that specific data >> file, or knows from which (hopefully public) source it comes from? Thanks! > > It's in your gnuplot installation, demo/immigration.dat Ah, great. Got it. Thanks! 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? Janis