mirror of
https://github.com/chriswolfvision/eplot.git
synced 2025-05-05 22:31:13 +08:00
Manual
This commit is contained in:
parent
af17184e65
commit
6f1e8857c6
24
README.md
24
README.md
@ -2,19 +2,43 @@
|
||||
|
||||
eplot ("easy gnuplot") is a ruby script which allows to pipe data easily through gnuplot and create plots quickly, which can be saved in postscript, PDF, PNG or EMF files. Plotting of multiple files into a single diagram is supported.
|
||||
|
||||
## One plot per diagram
|
||||
|
||||
The easiest way is to pipe the data through the program. Let's assume that you have a file called data.txt, the syntax would be:
|
||||
|
||||
```
|
||||
cat data.txt | eplot
|
||||
```
|
||||
|
||||
Which will give a result looking like this:
|
||||
|
||||

|
||||
|
||||
If the input data is available in a file (as opposed to being the output of another program), then you may as well give its name as an argument to eplot. This works with several data files, which will be opened in seperate windows:
|
||||
|
||||
```
|
||||
eplot file1
|
||||
eplot file1 file2 file3
|
||||
``
|
||||
|
||||
## Multiple plots in a single diagram
|
||||
|
||||
There are several ways to create multiple plots on a single diagramm:
|
||||
|
||||
-m: Several input files: Just give the name of the files on the command line together with the -m option
|
||||
-M: A single file, the data for the different curves are in different columns: give the name of the file on the command line or pipe the data through standard in, and set the -M option
|
||||
-S: A single file, the data for the different curves are in the same column, but the curves are separated by blank lines: give the name of the file on the command line or pipe the data through standard in, and set the -S option
|
||||
|
||||
|
||||
Examples:
|
||||
|
||||
```
|
||||
eplot -m 'Measured A' 'Measured B' 'Measured C' 'Simulated A' 'Simulated B' 'Simulated C'
|
||||
eplot -M singlefile.dat
|
||||
```
|
||||
|
||||

|
||||
|
||||
|
||||
See the online documentation for more info
|
||||
http://liris.cnrs.fr/christian.wolf/software/eplot/index.html
|
||||
|
Loading…
Reference in New Issue
Block a user