Skip to content

phy.pref

Olivier Lartillot edited this page Nov 20, 2018 · 2 revisions

Display options related to the graphical representation of phy.Point, phy.Segment and phy.sync objects can be controlled. The options remain valid throughout the Matlab session, and are reinitialised with a clear command.

The options indicated below can be combined together, forming a list of options to one single phy.pref command.

Display of indices

By default, index numbers are shown next to each point (in phy.Point) or segment (in phy.Segment)

  • phy.pref('DisplayIndex',0) toggles off this display.

  • phy.pref('DisplayIndex') toggles back on.

Frame dropping

By default, the video shown when displaying a phy.Point or phy.Segment object is real-time. Frames of the video are dropped in order to ensure the real-time quality.

  • phy.pref('DropFrame',0) toggles off the frame drop. Since all frames are displayed, the video is slower.

  • phy.pref('DropFrame') toggles back on the frame drop.

Default parameters

phy.pref('Default') reinitialises the default parameters.

Clone this wiki locally