Environmental Inquiry Commands¶
These functions are provided to gain access to information about the state of the PyDV session. Information such as the state of global variables and system help packages is made available through these functions.
Note
< > = Required user input.
[ ] = Optional user input.
[PyDV]: = Python Data Visualizer command-line prompt.
help¶
- pydv.pdv.Command.do_help(self, arg)
Return information about the specified command, variable, or command category. If no argument is supplied, return a list of available commands.
[PyDV]: help [command] Ex: [PyDV]: help list
list¶
- pydv.pdv.Command.do_list(self, line)
List the curves that are plotted. A regular expression may be supplied for matching against the curve label to be listed.
Regular expressions are based on the Python regex syntax, not the UNIX syntax. In particular, ‘*’ is not the wildcard you might be expecting.
For an explanation of the regex syntax, type ‘help regex’.
[PyDV]: <list | lst> <label-pattern> Ex: [PyDV]: list [PyDV]: list my.*curves
listr¶
- pydv.pdv.Command.do_listr(self, line)
List the curves that are plotted in the range from start to stop. If stop is not specified, it will be set to the end of the curve list.
[PyDV]: listr <start> [stop] Ex: [PyDV]: listr 1 [PyDV]: listr 1 10
listannot¶
- pydv.pdv.Command.do_listannot(self, line)
List current annotations.
[PyDV]: listannot
shell¶
- pydv.pdv.Command.do_shell(self, line)
Execute shell commands.
[PyDV]: <shell | system | !> <command> Ex: [PyDV]: shell echo $PATH