Documentation

To Workspace Plot

Capture plot figure created in the MATLAB workspace

Description

This component captures a plot figure created in the MATLAB® workspace, and then inserts one or both of the following into the report:

  • A table that includes input and output numeric values.

  • A figure that plots the values included in the table.

Print Options

  • Image file format: Specifies the image file format (for example, JPEG or TIFF) from this list. Select Automatic HG Format (the default) to choose the format best suited for the specified report output format automatically. Otherwise, choose an image format that your output viewer can read. Other options are:

    • Automatic HG Format (Uses the file format selected in the Preferences dialog box)

    • Bitmap (16m-color)

    • Bitmap (256-color)

    • Black and white encapsulated PostScript

    • Black and white encapsulated PostScript (TIFF)

    • Black and white encapsulated PostScript2

    • Black and white encapsulated PostScript2 (TIFF)

    • Black and white PostScript

    • Black and white PostScript2

    • Color encapsulated PostScript

    • Color encapsulated PostScript (TIFF)

    • Color encapsulated PostScript2

    • Color encapsulated PostScript2 (TIFF)

    • Color PostScript

    • Color PostScript2

    • JPEG high quality image

    • JPEG medium quality image

    • JPEG low quality image

    • PNG 24-bit image

    • TIFF - compressed

    • TIFF - uncompressed

    • Windows metafile

  • Paper orientation:

    • Landscape

    • Portrait

    • Rotated

    • Use figure orientation: Uses the orientation for the figure, which you set with the orient command.

    • Full page image (PDF only): In PDF reports, scales images to fit the full page, minimizes page margins, and maximizes the size of the image by using either a portrait or landscape orientation.

    For more information about paper orientation, see the orient command in the MATLAB documentation.

  • Image size:

    • Use figure PaperPositionMode setting: Uses the PaperPositionMode property of the Handle Graphics® figure to set the image size in the report. For more information about paper position mode, see the orient command in the MATLAB documentation.

    • Automatic (same size as on screen): Sets the image in the report to the same size as it appears on the screen.

    • Custom: Specifies a custom image size. Specify the image size in the size and units fields.

  • Size: Specifies the size of the Handle Graphics figure snapshot in the format wxh (width times height). This field is active only if you choose Custom in the Image size list box.

  • Units: Specifies units for the size of the Handle Graphics figure snapshot. This field is active only if you choose Set image size in the Custom list box.

  • Invert hardcopy: Uses the Handle Graphics figures InvertHardcopy property, which inverts colors for printing; it changes dark colors to light colors, and light colors to dark colors.

    • Automatic: Automatically changes dark axes colors to light axes colors. If the axes color is a light color, it is unchanged.

    • Invert: Changes dark axes colors to light axes colors, and light axes colors to dark axes colors.

    • Don't invert: Retains image colors displayed on screen in the printed report.

    • Use figure's InvertHardcopy setting: Uses the InvertHardcopy property set in the Handle Graphics image.

    • Make figure background transparent: Makes the image background transparent.

Display Options

  • Scaling: Controls size of the image, as displayed in a browser. Making an image larger using this option does not affect the storage size of the image, but the quality of the displayed image may decrease as you increase or decrease the size of the displayed image.

    Generally, to achieve the best and most predictable display results, use the default setting of Use image size.

    • Use image size: Causes the image to appear the same size in the report as on screen (default).

    • Fixed size: Specifies the number and type of units.

    • Zoom: Specifies the percentage, maximum size, and units of measure.

  • Size: Specifies the size of the snapshot in the format w h (width, height). This field is active only if you choose Fixed size in the Scaling list.

  • Max size: Specifies the maximum size of the snapshot in the format w h (width, height). This field is active only if you choose Zoom from the Scaling list.

  • Units: Specifies units for the size of the snapshot. This field is active only if you choose Zoom or Fixed size in the Image size list box.

  • Alignment: Only reports in PDF or RTF format support this property.

    • Auto

    • Right

    • Left

    • Center

  • Title: Specifies text to appear above the snapshot.

  • Caption: Specifies text to appear under the snapshot.

Insert Anything into Report?

Yes. Figure.

Class

rptgen_sl.csl_blk_toworkspace

See Also

Figure Loop

Was this topic helpful?