|
From: Ethan A M. <sf...@us...> - 2016-11-21 18:39:17
|
On Saturday, 19 November, 2016 15:43:38 Daniel J Sebald wrote: > > The documentation says: > > In all cases, the numbers of each record of a data file must be separated > by white space (one or more blanks or tabs) unless a format specifier is > provided by the `using` option. This white space divides each record into > columns. However, whitespace inside a pair of double quotes is ignored > when > counting columns, so the following datafile line has three columns: > 1.0 "second column" 3.0 > > Thinking more general, that begs the question as to why gnuplot couldn't > accept numbers within a string: > > "1.0""second column""3.0" > > or even CSV format: > > 1.0,second column,3.0 > > Not that I'm really keen on having that, but it may not be a far step > handling those formats. Gnuplot has accepted all of these input variants since they were introduced in version 4.0 (2004). Plotting from *.csv files is very common. The relevant command is set datafile seperator - Ethan |