Main Content

view (biograph)

(To be removed) Draw figure from biograph object

view (biograph) will be removed in a future release. Use the plot function of graph or digraph instead. The name-value arguments of the plot function can be used to control the properties of the graph. The arguments can be used as replacements for many of the biograph object properties to change the appearance of the graph.

Syntax

view(BGobj)
BGobjHandle = view(BGobj)

Arguments

BGobj

Biograph object created with the function biograph.

Description

view(BGobj) opens a Figure window and draws a graph represented by a biograph object (BGobj). When the biograph object is already drawn in the Figure window, this function only updates the graph properties.

BGobjHandle = view(BGobj) returns a handle to a deep copy of the biograph object (BGobj) in the Figure window. When updating an existing figure, you can use the returned handle to change object properties programmatically or from the command line. When you close the Figure window, the handle is no longer valid. The original biograph object (BGobj) is left unchanged.

Version History

Introduced before R2006a

expand all

Warns starting in R2022a

See Also

| |