Please enable JavaScript to view this site.

Knowledge Base

Sends data to the visualizer (see Visualizer and figure settings).

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

For FDTD, MODE, DEVICE, and INTERCONNECT

Syntax

Description

visualize(R);

Plots the dataset R in the Visualizer.

visualize(R,T);

Sends two datasets to the Visualizer.

 

 

Example

This example creates a 3D dataset of random numbers and plots it in the visualizer. An additional dataset is created and added to the visualizer using add2visualizer.

nPts=10;

axis=1:nPts;

data=randmatrix(nPts,nPts,nPts);

 

dataset = rectilineardataset("dataset",axis,axis,axis);

dataset.addattribute("data",data);

 

visualize(dataset);

 

dataset2 = rectilineardataset("dataset2",axis,axis,axis);

dataset2.addattribute("data",data+10);

add2visualizer(dataset2, 1);

 

See Also

Plotting commands, Datasets, exportfigure, image, plot, setplot, closeall, add2visualizer

Copyright Lumerical Inc. | Privacy | Site Map