File: README.examples

package info (click to toggle)
ruby-tioga 1.19.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 10,548 kB
  • ctags: 4,349
  • sloc: ansic: 39,885; ruby: 17,303; sh: 79; makefile: 31
file content (28 lines) | stat: -rw-r--r-- 1,287 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
* most of the ruby files from the subdirectories are for use with irb. You should have irb and the
* the sine.rb ruby file is a standalone program. Just run ruby sine.rb, and have a look at the files
For more detailed explanations, see
Please note that the output of the given plots will reside in a subdirectory whose name finishes
The examples are contained in the samples.tar.gz in this directory. You should unpack this archive
The examples basically into two different categories:
Tioga package examples
and make the plot you want with:
following lines in your ~/.irbrc
help
http://theory.kitp.ucsb.edu/~paxton/tioga_doc/classes/Tioga/Tutorial/Sample.html
include Tioga::IRB_Tioga
list the plots available with:
load the file you're interested in with (you have to be in the directory where the file resides, else
load_figures 'file.rb'
ls
ma
mk n
package is installed on your machine.
produced !
require 'Tioga/irb_tioga.rb'
the output will fail).
to include specific interactive facilities (or alternatively, copy the irbrc file to ~/.irbrc). Then,
to make all the plots.
to take advantage of the examples.
where n is it's number in the output of ls. Alternatively, you can use
will give you some small help about the various commands available, provided that the rdoc
with _out.