Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

webfigure

Export a figure to a deployed application

Syntax

exportFigure = webfigure(h)

Description

exportFigure = webfigure(h) exports the figure identified by the handle h to a deployed application for use as a WebFigure. How the deployed application manages the exported figure is specific to the target language. The WebFigure feature is supported by Java® and .NET.

Examples

Export a Figure

function returnFigure = getWebFigure()
        h = figure;
        set(h, 'Visible', 'off');
        surf(peaks);
        set(h, 'Color', [.8,.9,1]);
        returnFigure = webfigure(h);
        close(h);

Input Arguments

collapse all

Specify the figure to be exported as a figure handle.

Output Arguments

collapse all

Specifies the exported figure in a language specific structure.

Introduced in R2008a

Was this topic helpful?