User:Glenn macgougan/Plot2D (plotting tool)

From Wikipedia, the free encyclopedia
Glenn macgougan/Plot2D
Developer(s)Glenn D. MacGougan
Stable release
Alpha 0.07
Operating systemCross-platform
TypePlotting
LicenseBSD License
Websitehttp://plot2d.sourceforge.net

Plot2D is an open source computer program for producing 2D plots of multiple series from numeric data files. It operates under Unix, Linux, and Win32 systems. It runs using a Command line interface. It also has a Windows GUI.

It plots multiple data series from ASCII text files with numeric data directly to a bitmap (BMP file format) file (using Run-length encoding compression). It is written using C and C++ source code. Plot2D can be configured via Command-line arguments or using an ASCII option file.

A basic example plot generated with Plot2D
A plot with statistics on the right
A plot with statistics below the figure

Usage examples[edit]

All the options for running the program are listed.

plot2d -h

Generate a default options file.

plot2d -c plot2d_options.txt

Generate the plot using the easy to use option file.

plot2d -f plot2d_options.txt

The program will plot the first column vs the second column or the first column vs the sample index if there is only one column.

plot2d data.txt

Plot column 1 vs column 3.

plot2d data.txt 1 3

Plot column 1 vs 2, 1 vs 3, and 1 vs 4.

plot2d data.txt 1 2 1 3 1 4

Plot with lots of command line options.

plot2d data.txt 1 2 -xlim -10 10 -ylim -1 1 -title "The Title" -xlabel "Time (s)" -ylabel "Voltage (V)"

Plot columns 1 vs 2 and 1 vs 3 of a comma delimited file. The program automatically determines the comma delimiter.

plot2d data.csv 1 2 1 3 -title "A comma delimited file with 2 series"

See also[edit]

External links[edit]

{{software-stub}}

Category:Free plotting software Category:Free statistical software Category:Linux graph plotting software