plot-monitors

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)
gnuplotter   inherits from data-handler  [Class]

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.

divide-indices-by   gnuplotter  [Generic function]

Returns and (with setf) changes the divide-indices-by of the specified gnuplotter

colors   gnuplotter  [Generic function]

Returns and (with setf) changes the colors of the specified gnuplotter

plot-stream   gnuplotter  [Generic function]

Returns the stream of the specified gnuplotter

y2-label   gnuplotter  [Generic function]

Returns the y2-label of the specified gnuplotter

y1-label   gnuplotter  [Generic function]

Returns the y1-label of the specified gnuplotter

x-label   gnuplotter  [Generic function]

Returns the x-label of the specified gnuplotter

use-y-axis   gnuplotter  [Generic function]

Returns the use-y-axis of the specified gnuplotter

draw-y2-grid   gnuplotter  [Generic function]

Returns the draw-y2-grid of the specified gnuplotter

draw-y1-grid   gnuplotter  [Generic function]

Returns the draw-y1-grid of the specified gnuplotter

line-width   gnuplotter  [Generic function]

Returns the line-width of the specified gnuplotter

y2-min   gnuplotter  [Generic function]

Returns the y2-min of the specified gnuplotter

y2-max   gnuplotter  [Generic function]

Returns the y2-max of the specified gnuplotter

y1-min   gnuplotter  [Generic function]

Returns the y1-min of the specified gnuplotter

y1-max   gnuplotter  [Generic function]

Returns the y1-max of the specified gnuplotter

caption   gnuplotter  [Generic function]

Returns the caption of the specified gnuplotter

key-location   gnuplotter  [Generic function]

Returns and (with setf) changes the key-location of the specified gnuplotter

error-bars   gnuplotter  [Generic function]

Returns and (with setf) changes the error-bars of the specified gnuplotter

minimum-number-of-data-points   gnuplotter  [Generic function]

Returns and (with setf) changes the minimum-number-of-data-points of the specified gnuplotter

title   gnuplotter  [Generic function]

Returns and (with setf) changes the title 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

update-interval   gnuplot-display  [Generic function]

Returns and (with setf) changes the update-interval of the specified gnuplot-display

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

graphic-type   gnuplot-graphic-generator  [Generic function]

Returns the graphic-type of the specified gnuplot-graphic-generator

allowed-types   gnuplot-graphic-generator  [Generic function]

Returns the allowed-types of the specified gnuplot-graphic-generator

add-time-and-experiment-to-file-name   gnuplot-graphic-generator  [Generic function]

Returns and (with setf) changes the add-time-and-experiment-to-file-name of the specified gnuplot-graphic-generator

dashed   gnuplot-graphic-generator  [Generic function]

Returns and (with setf) changes the dashed of the specified gnuplot-graphic-generator

colored   gnuplot-graphic-generator  [Generic function]

Returns and (with setf) changes the colored of the specified gnuplot-graphic-generator

file-name   gnuplot-graphic-generator  [Generic function]

Returns and (with setf) changes the file-name 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

file-name   gnuplot-raw-data-file-writer  [Generic function]

Returns and (with setf) changes the file-name of the specified gnuplot-raw-data-file-writer

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

gnuplot-file-name   gnuplot-file-writer  [Generic function]

Returns and (with setf) changes the gnuplot-file-name of the specified gnuplot-file-writer

*great-gnuplot-colors*    [Variable]
*plot-with-averaged-by-step*    [Variable]
plot-data   monitor  [Generic function]

Writes the data to the stream of the monitor

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  [Around method]
initialize-instance   (monitor gnuplot-display) &key id &allow-other-keys  [Around method]
handle-interaction-finished-event   (monitor gnuplot-display) (monitor-id symbol) (event (eql (quote interaction-finished))) (experiment t) (interaction t) (interaction-number number)  [After method]
activate-monitor-method   (monitor gnuplot-display) &optional active  [After method]

Opens or closes a pipe to gnuplot.

initialize-instance   (monitor gnuplot-graphic-generator) &key id graphic-type file-name &allow-other-keys  [Around method]
handle-batch-finished-event   (monitor gnuplot-graphic-generator) (monitor-id symbol) (event (eql (quote batch-finished))) (experiment-class string)  [Method]
initialize-instance   (monitor gnuplot-raw-data-file-writer) &key id file-name &allow-other-keys  [Around method]
handle-batch-finished-event   (monitor gnuplot-raw-data-file-writer) (monitor-id symbol) (event (eql (quote batch-finished))) (experiment-class string)  [Method]
initialize-instance   (monitor gnuplot-file-writer) &key id gnuplot-file-name &allow-other-keys  [Around method]
handle-batch-finished-event   (monitor gnuplot-file-writer) (monitor-id symbol) (event (eql (quote batch-finished))) (experiment-class string)  [Method]
pipe-to-gnuplot    [Function]

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

compute-index-and-data-points-and-error-bars   data monitor  [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

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)  [Function]