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


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

Re: Histogram sample data on gnuplot.sourceforge.net

From Janis Papanagnou <janis_papanagnou@hotmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Histogram sample data on gnuplot.sourceforge.net
Date 2016-01-26 17:35 +0100
Organization Aioe.org NNTP Server
Message-ID <n8878j$1i2p$1@gioia.aioe.org> (permalink)
References <n87v37$10db$1@gioia.aioe.org> <n87vvm$duf$1@solani.org> <n882lb$18bk$1@gioia.aioe.org>

Show all headers | View raw


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

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


Thread

Histogram sample data on gnuplot.sourceforge.net Janis Papanagnou <janis_papanagnou@hotmail.com> - 2016-01-26 15:16 +0100
  Re: Histogram sample data on gnuplot.sourceforge.net Karl Ratzsch <mail.kfr@gmx.net> - 2016-01-26 15:31 +0100
    Re: Histogram sample data on gnuplot.sourceforge.net Janis Papanagnou <janis_papanagnou@hotmail.com> - 2016-01-26 16:17 +0100
      Re: Histogram sample data on gnuplot.sourceforge.net Janis Papanagnou <janis_papanagnou@hotmail.com> - 2016-01-26 17:35 +0100
        Re: Histogram sample data on gnuplot.sourceforge.net Jörg Buchholz <bookwood4new@freenet.de> - 2016-01-27 08:57 +0100
    Re: Histogram sample data on gnuplot.sourceforge.net sfeam <sfeam@users.sourceforge.net> - 2016-01-26 22:31 -0800

csiph-web