Visualize Data Through Plots
This example shows how to use the plots to visualize the data in the Lookup Table Editor.
Add a 2-D Lookup Table block to a model.
Open the Lookup Table Editor. For example, open the block dialog and click Edit table and breakpoints.
By default, the 2-D Lookup Table block has this data as an example.
To create two tabs, one for the spreadsheet and one for the plot, pause between the spreadsheet and plot and click the red X. To view or tile the panes, drag the panes as you want to position them.
Click the data points in the spreadsheet and observe the corresponding red dot in the plot.
From the toolstrip, click another plot type, such as Line, Surface, or Contour, and reselect the same data. These plots are the equivalent of the MATLAB® functions
contour, using the table and breakpoint data.
Each plot type and data selection gives you another view of the data on that plot type.
To view heatmaps of your data, click Heatmap in the toolstrip.