plottable

Generate a graphics plot of the contents of a table given an associated table-handle variable.


Synopsis

plottable(table_handle[, pause][, “gnuplot_cmd1”, “gnuplot_cmd2”, … ])

Parameters inside the [brackets] are optional.


Description

plottable is a useful utility that will create a graphics plot of a table associated with a particular table-handle. The plot appears in a separate window, and uses the public-domain gnuplot program. MacOS users will also need to have the public-domain aquaterm package installed for gnuplot to run correctly.


Arguments


Examples

   table = maketable("wave", 1000, 1, 0.1, 0.3)
   plottable(table, 30)

The above score will produce the following plot in a separate window (it will appear for 30 seconds on non-macOS systems):

This scorefile:

   table = maketable("wave", 1000, 1, 0.1, 0.3)
   plottable(table, 15, "with points")

will produce this plot:

and display it for 15 seconds (on non-macOS systems). The following scorefile:

   table = maketable("wave", 1000, 1, 0.1, 0.3)
   plottable(table, "with impulses")

generates this kind of plot:


See Also

dumptable, maketable, makeconverter, makefilter, modtable, tablelen, samptable