manpagez: man pages & more
info gnuplot
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.21.14.3 set datafile separator

The command `set datafile separator "<char>"` tells `gnuplot` that data fields in subsequent input files are separated by <char> rather than by whitespace. The most common use is to read in csv (comma-separated value) files written by spreadsheet or database programs. By default data fields are separated by whitespace.

Syntax:

 
      set datafile separator {"<char>" | whitespace}

Examples:

 
      # Input file contains tab-separated fields
      set datafile separator "\t"

 
      # Input file contains comma-separated values fields
      set datafile separator ","


© manpagez.com 2000-2025
Individual documents may contain additional copyright information.