Re: double blank lines for index



Rufus T. Firefly <mb.atelier@xxxxxx> wrote:

> Note that Set 0, which is dummy as it does not correspond to a column,
> and Set 2 are empty _before_ the double blank lines. This way the
> indexed-data 1,1,1 should have index 1 from within gnuplot:

Not really. The basic problem is that the documentation isn't 100%
accurate. Just like any sequence of at least one blank character
separates columns in gnuplot, any sequence of at least 2 empty lines
separates datasets.

If you want to signal an actual hole in the sequence of 'index'ed
datasets, you have to make sure each dataset consistes of at least one
non-blank line that's not completely a comment. Any line consisting
of just a single character other than the comment start operator '#'
should do. For more clarity, you may want to use the same mark
character you chose in 'set missing'.

--
Hans-Bernhard Broeker (broeker@xxxxxxxxxxxxxxxxxxxxx)
Even if all the snow were burnt, ashes would remain.
.



Relevant Pages

  • Re: unget vs. putback
    ... >> When you read a character with snextc you can always putback that character. ... > of a character to the backup sequence. ... > when a character is transfered to an empty backup sequence than you. ... gptr() characters starting at gptrare the characters in the pending sequence ...
    (comp.lang.cpp)
  • Re: user defined function that converts string to float
    ... > I need user defined function that converts string to float in c. ... initial, possibly empty, sequence of white-space characters (as ... point character, then an optional exponent part as defined in ... then a nonempty sequence of hexadecimal digits ...
    (comp.lang.c)
  • Re: Check for Common character sequence ( I will pay)?
    ... Dude, programming is all problem-solving. ... You need to identify character sequences of 3 or more characters that appear ... in more than one string. ... and test each 3-character sequence that results. ...
    (microsoft.public.dotnet.framework)
  • Re: Check for Common character sequence ( I will pay)?
    ... Do I need to return an array? ... You need to identify character sequences of 3 or more characters that appear ... in more than one string. ... and test each 3-character sequence that results. ...
    (microsoft.public.dotnet.framework)
  • Re: Check for Common character sequence ( I will pay)?
    ... Yes you are returning an array of FoundString objects. ... in more than one string. ... This means that you have to identify sequences 1 character at a time, ... Again, obviously, if the 3-character sequence doesn't match, neither will ...
    (microsoft.public.dotnet.framework)