Scope
Basic Operation of Scopes
See Basic Operation of Writers since the operation of Writer
and that of Scope
is very similar.
Full API
Causal.Scope
— TypeScope(input=Inport(), args...; buflen::Int=64, plugin=nothing, callbacks=nothing, name=Symbol(), kwargs...)
Constructs a Scope
with input bus input
. buflen
is the length of the internal buffer of Scope
. plugin
is the additional data processing tool. args
,kwargs
are passed into plots(args...; kwargs...))
. See (https://github.com/JuliaPlots/Plots.jl) for more information.
When initialized, the plot
of Scope
is closed. See open(sink::Scope)
and close(sink::Scope)
.
Causal.update!
— Methodupdate!(s::Scope, x, yi)
Updates the series of the plot windows of s
with x
and yi
.
Base.close
— Methodclose(sink::Scope)
Closes the plot window of the plot of sink
.
Base.open
— Methodopen(sink::Scope)
Opens the plot window for the plots of sink
.