In Unix, how can I plot a graph?
Many Unix systems have Gnuplot installed. Gnuplot features include:
- Plotting of two-dimensional functions and data points in many
different styles, including points, lines, and error bars
- Plotting of three-dimensional data points and surfaces in many
different styles, including contour plot and mesh
- Support for complex arithmetic
- User-defined functions
- Support for a large number of operating systems, graphics file
formats, and devices
- Extensive online help
- Labels for title, axes, and data points
- Command-line editing and history on most platforms
To start Gnuplot, at the Unix prompt, enter:gnuplot
To invoke online help, enter
help at the Unix prompt.
The following commands display a graph of the
function using a standard terminal:
Note: The above information was gleaned from the
FAQ, which is posted every two weeks to
news.answers, and is available via anonymous
FTP at the FAQ
Last modified on November 12, 2012.