File: README

package info (click to toggle)
ruby-tioga 1.14-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 10,508 kB
  • sloc: ansic: 39,112; ruby: 17,031; sh: 79; makefile: 29
file content (13 lines) | stat: -rw-r--r-- 654 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
You can use this as a start for making your own command-line driven plotting tool based on IRB-Tioga.

In irb, with IRB_Tioga loaded, try this:

    >> load 'plot.rb'
    >> plot 'forward.out'
    >> plot 'forward1.out'
    >> plot 'forward2.out'

If all goes well, each call on plot should create a plot of the data in the named file and preview it.  It assumes the first column of data has the x values and the second column has the y values.  All other data is ignored.

To change the default appearance of the plot, edit the set_style routine in default_plot.rb.  If you get ambitious, you can add commands to set options from the irb command line.