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

3.27 system

‘system "command"‘ executes "command" using the standard shell. See shell. If called as a function, ‘system("command")‘ returns the resulting character stream from stdout as a string. One optional trailing newline is ignored.

This can be used to import external functions into gnuplot scripts:

 
      f(x) = real(system(sprintf("somecommand %f", x)))


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