Class summary | |
---|---|
gnuplot-display | inherits from gnuplotter |
gnuplot-display-and-graphic-generator | inherits from gnuplot-display and gnuplot-graphic-generator |
gnuplot-file-writer | inherits from gnuplot-graphic-generator |
gnuplot-graphic-generator | inherits from gnuplotter |
gnuplot-raw-data-file-writer | inherits from gnuplotter |
gnuplotter | inherits from data-handler |
Method summary | |
---|---|
activate-monitor-method | (monitor gnuplot-display) &optional active |
add-time-and-experiment-to-file-name | gnuplot-graphic-generator |
allowed-types | gnuplot-graphic-generator |
caption | gnuplotter |
colored | gnuplot-graphic-generator |
colors | gnuplotter |
dashed | gnuplot-graphic-generator |
divide-indices-by | gnuplotter |
draw-y1-grid | gnuplotter |
draw-y2-grid | gnuplotter |
error-bars | gnuplotter |
file-name | gnuplot-graphic-generator |
file-name | gnuplot-raw-data-file-writer |
gnuplot-file-name | gnuplot-file-writer |
graphic-type | gnuplot-graphic-generator |
handle-batch-finished-event | (monitor gnuplot-graphic-generator) (monitor-id symbol) (event (eql (quote batch-finished))) (experiment-class string) |
handle-batch-finished-event | (monitor gnuplot-raw-data-file-writer) (monitor-id symbol) (event (eql (quote batch-finished))) (experiment-class string) |
handle-batch-finished-event | (monitor gnuplot-file-writer) (monitor-id symbol) (event (eql (quote batch-finished))) (experiment-class string) |
handle-interaction-finished-event | (monitor gnuplot-display) (monitor-id symbol) (event (eql (quote interaction-finished))) (experiment t) (interaction t) (interaction-number number) |
initialize-instance | (monitor gnuplotter) &key data-sources caption line-width y1-min y1-max y2-min y2-max use-y-axis (title nil) &allow-other-keys |
initialize-instance | (monitor gnuplot-display) &key id &allow-other-keys |
initialize-instance | (monitor gnuplot-graphic-generator) &key id graphic-type file-name &allow-other-keys |
initialize-instance | (monitor gnuplot-raw-data-file-writer) &key id file-name &allow-other-keys |
initialize-instance | (monitor gnuplot-file-writer) &key id gnuplot-file-name &allow-other-keys |
key-location | gnuplotter |
line-width | gnuplotter |
minimum-number-of-data-points | gnuplotter |
plot-data | monitor |
plot-stream | gnuplotter |
title | gnuplotter |
update-interval | gnuplot-display |
use-y-axis | gnuplotter |
x-label | gnuplotter |
y1-label | gnuplotter |
y1-max | gnuplotter |
y1-min | gnuplotter |
y2-label | gnuplotter |
y2-max | gnuplotter |
y2-min | gnuplotter |
Function summary | |
---|---|
compute-index-and-data-points-and-error-bars | data monitor |
compute-index-and-data-points-and-error-bars-aux | data minimum-number-of-data-points error-bars divide-indices-by &key (steps nil) |
pipe-to-gnuplot | |
plot-data-aux | data stream &key key-location use-y-axis y1-min y1-max y2-min y2-max caption monitor-ids-of-sources (line-width 2) (colors *great-gnuplot-colors*) (draw-y1-grid nil) (draw-y2-grid nil) (x-label nil) (y1-label nil) (y2-label nil) (grid-color "#aaaaaa") (grid-line-width 0.5) |
Generic class for plotting with gnuplot
:title | [Initarg] |
:minimum-number-of-data-points | [Initarg] |
:error-bars | [Initarg] |
:key-location | [Initarg] |
:caption | [Initarg] |
:y1-max | [Initarg] |
:y1-min | [Initarg] |
:y2-max | [Initarg] |
:y2-min | [Initarg] |
:line-width | [Initarg] |
:draw-y1-grid | [Initarg] |
:draw-y2-grid | [Initarg] |
:use-y-axis | [Initarg] |
:x-label | [Initarg] |
:y1-label | [Initarg] |
:y2-label | [Initarg] |
:divide-indices-by | [Initarg] |
title | [Slot] |
The title of the plot.
minimum-number-of-data-points | [Slot] |
At least that many values are plotted along the x-axis.
It can be more depending on the dynamically adapted step size.
error-bars | [Slot] |
When a symbol is provided here, error bars are plotted. Current options to calculate error bars include standard deviation (:stdev) and minimum maximum values (:min-max)
key-location | [Slot] |
Where the key is placed (this is directly passed to 'set key')
caption | [Slot] |
A list of strings containing a caption for each source
y1-max | [Slot] |
The maximum for the left y axis. Nil results in automatic scaling
y1-min | [Slot] |
The minimum value for the left y axis. Nil means automatic scaling
y2-max | [Slot] |
The maximum for the right y axis. Nil means automatic scaling
y2-min | [Slot] |
The minimum for the right y axis. Nil means automatic scaling
line-width | [Slot] |
The width of the lines for curves and errorbars
draw-y1-grid | [Slot] |
Whether to draw horizontal lines at the y1 ticks
draw-y2-grid | [Slot] |
Whether to draw horizontal lines at the y2 ticks
use-y-axis | [Slot] |
A list containing the number 1 or 2 depending on whether the data sis scaled for the left or the right y axis
x-label | [Slot] |
A label for the x axis
y1-label | [Slot] |
A label for the left y-axis
y2-label | [Slot] |
A label for the right y-axis
stream | [Slot] |
Where the plot-data method writes its output
colors | [Slot] |
A list of line colors to use for plotting.
divide-indices-by | [Slot] |
A constant by which the indices (x-values) are divided by.
Returns and (with setf) changes the divide-indices-by of the specified gnuplotter
Returns and (with setf) changes the colors of the specified gnuplotter
Returns and (with setf) changes the key-location of the specified gnuplotter
Returns and (with setf) changes the error-bars of the specified gnuplotter
Returns and (with setf) changes the minimum-number-of-data-points of the specified gnuplotter
gnuplot-display | inherits from gnuplotter | [Class] |
Plots values in realtime on a display using gnuplot
:update-interval | [Initarg] |
update-interval | [Slot] |
How often the display is redrawn
gnuplot-graphic-generator | inherits from gnuplotter | [Class] |
Generates a graphic file at the end of run-batch
:file-name | [Initarg] |
:colored | [Initarg] |
:dashed | [Initarg] |
:add-time-and-experiment-to-file-name | [Initarg] |
:graphic-type | [Initarg] |
file-name | [Slot] |
The file name (path) of the graphic file to produce
colored | [Slot] |
When t, different data lines have different colors. Only has effect in some terminals
dashed | [Slot] |
When t, different data lines have different dashes. Only has effect in some terminals
add-time-and-experiment-to-file-name | [Slot] |
When t, the file name is prefixed with the name of the experiment class and a yyyy-mm-dd-hh-mm-ss string
allowed-types | [Slot] |
These graphic types are allowed
graphic-type | [Slot] |
The type of graphic to produce
Returns the graphic-type of the specified gnuplot-graphic-generator
Returns the allowed-types of the specified gnuplot-graphic-generator
Returns and (with setf) changes the add-time-and-experiment-to-file-name of the specified gnuplot-graphic-generator
Returns and (with setf) changes the dashed of the specified gnuplot-graphic-generator
Returns and (with setf) changes the colored of the specified gnuplot-graphic-generator
gnuplot-display-and-graphic-generator | inherits from gnuplot-display and gnuplot-graphic-generator | [Class] |
Both displays a graph and generates a graphic file in the end
gnuplot-raw-data-file-writer | inherits from gnuplotter | [Class] |
Generates a space separated raw data file that can be processed by gnuplot at the end of run-batch
:file-name | [Initarg] |
file-name | [Slot] |
The file name (path) of the raw data file to produce
gnuplot-file-writer | inherits from gnuplot-graphic-generator | [Class] |
Generates a complete gnuplot file that can generate a graphic file at the end of run-batch
:gnuplot-file-name | [Initarg] |
gnuplot-file-name | [Slot] |
The file name (path) of the gnuplot file to produce
Opens or closes a pipe to gnuplot.
Starts a gnuplot process and returns a stream for writing to that process
compute-index-and-data-points-and-error-bars-aux | data minimum-number-of-data-points error-bars divide-indices-by &key (steps nil) | [Function] |
computes for each source in data a (index data-points error-bars) list.
data is a list batches of series of values, as recorded for example by data-recorders
computes for each source in data a (index data-points error-bars) list.
data is a list batches of series of values, as recorded for example by data-recorders