graphObject [<object-list>] [-updates <update-rate>]
This opens a graph and creates a trace for each object or command in the object list. It returns the graph's number. This is a shortcut for what could be done with the graph and trace commands.
The "objects" can either be the name of a real-valued network object,
group(3).unit(2).output or they
can be Tcl commands that return numbers, like
error]). If no object is specified,
error is the
If -updates is given, it determines the frequency with which the
graph will update its values. Recognized values are
EVENTS, EXAMPLES, WEIGHT_UPDATES, PROGRESS_REPORTS,
USER_SIGNALS. You only
need to specify a unique prefix of the full name. The default is
You can read more about graphs in the Graphs section of the main manual.
To graph the output of units out:0 to out:2 every tick:
lens> graphObject "out:0.output out:1.output out:2.output" -u TICK