displayplot¶
# Display Plot (Dp) module
-
class
vcs.displayplot.
Dp
(Dp_name, Dp_name_src='default', parent=None)[source]¶ The Display plot object allows the manipulation of the plot name, off, priority, template, graphics type, graphics name, and data array(s).
This class is used to define a display plot table entry used in VCS, or it can be used to change some or all of the display plot attributes in an existing display plot table entry.
-
Useful Functions:
# Canvas constructor a=vcs.init() # Show display plot objects a.show('plot') # Updates the VCS Canvas at user's request a.update()
-
General display plot usage:
#Create a VCS Canvas object a=vcs.init() #To Create a new instance of plot: # Create a plot object p1=a.plot(s) #To Modify an existing plot in use: p1=a.getplot('dpy_plot_1')
-
Display plot object attributes:
# Will list all the display plot attributes p1.list() # "On" or "Off" status, 1=on, 0=off p1.off=1 # Priority to place plot in front of other objects p1.priority=1 # Name of template object p1.template='quick' # Graphics method type p1.g_type='boxfill' # Graphics method name p1.g_name='quick' # List of all the array names p1.array=['a1']
-
property
backend
¶ dictionary of things the backend wants to be able to reuse
-