Documentation Center

  • Trial Software
  • Product Updates

View Figures

Creating and Deleting Figures

When you issue a command on your device that creates or updates figures, MATLAB® Mobile™ displays a thumbnail for each figure window in the History tab and a larger preview in the Figures tab. You can also view thumbnails in the Command tab. Select the thumbnail or preview to interact with the complete figure.

To close figures, touch and hold the figure preview in the Figures tab. When prompted to close the figure, touch Yes. Alternatively, use the close command.

Snapshots vs. Live Figures

Figure thumbnails with a camera icon, , correspond to figures that are no longer open on your computer or on the cloud. These figures are stored as static snapshots on your device. Snapshots have a fixed resolution

When you zoom and pan live figures (that is, figures that are still open), the application updates the figure from your computer or the cloud.

Viewing Data Point Values

When viewing figures, you can enable or disable data cursor mode. When enabled, the data cursor displays x, y, or z (where appropriate) values for a single data point on a figure.

To enable and disable data cursor mode:

  1. In the Figures tab, open a figure.

  2. Touch Show Data Cursor at the bottom of the screen. Touch Hide Data Cursor to disable data cursor mode.

To display values for a data point, drag the cross hairs to a specific point on the figure or move the figure by zooming and panning. The application retrieves the values and displays them.

Notes and Limitations

  • If you call a script or function that updates the same figure window more than once during its execution, the application retrieves only the last update.

  • The connector can send up to 10 graphic figures to your device. If more than 10 figure windows are open, each command that you enter on your device returns a warning until you close the extra figures. To close figures, use the close command, for example, close(n) or close('all').

  • If you issue a plotting command from your device that does not change the appearance of the current figure, the connector does not return a new copy. For example, issuing the same plot command twice in a row returns a single figure to your device:

    membrane
    membrane

    However, if you issue a different plot command between two identical commands, the figure window on your computer changes each time. The connector retrieves a new version of the figure window, and stores the old versions as snapshots in your history:

    membrane
    peaks
    membrane
  • By default, MATLAB Mobile saves up to 100 figure snapshots in your history after you exit the application. To change this setting, swipe left, touch the Settings tab and select Max Snapshots in History.

Was this topic helpful?