Contents Previous Next Subchapters

Setting the Object to be Displayed by Data Visualizer
Syntax avpath(pathString)

Description
Sets the object specified by the character row vector pathString to be displayed in the Data Visualizer. The avpath function can be used to display data, graph, or page objects within the viewer. If pathString starts with the characters, graph: the specified object must be a plot. If pathString begins with page: the specified object must be a page object, otherwise pathString must begin with the character /.

Examples
If at the O-Matrix prompt you enter
     avpath("/")
The Data Visualizer will displayed the root group of the currently displayed hierarchy. If at the O-Matrix prompt you enter
     avput(rand(10,10), "/Data/rand")
     avpath("/Data/rand")
the previewer will display the following



If you have created an image plot with the name /Image1/2D fft and you enter
     avpath("graph:/Image1/2D fft")
the given image plot will be displayed.

The avpath command can be used to display, or run objects that contain embedded HTML code which can be used for creating dynamic, visual datasets. If at the O-Matrix prompt you enter
     avopen("AVsinecompute.h5")
     avpath("page:/SineCompute")
the previewer will display a dynamic HTML page which uses data and graphs embedded in the file to create a dynamic graph. (Note that if the Edit check box in the upper-left of the previewer is selected the previewer will display the page code, otherwise the page will be run)