File: README

package info (click to toggle)
libtioga-ruby 1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,460 kB
  • ctags: 3,986
  • sloc: ansic: 38,451; ruby: 16,774; sh: 172; makefile: 111
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.