Figure Snapshot
R2026bInsert snapshot of figure into report
Description
This component inserts a snapshot of a figure into the report.
Format
Image file format: Specifies the image file format. The default option,
Automatic HG Format, automatically chooses the format best suited for the specified report output format. Otherwise, choose an image format that your output viewer can read. Other options include:Automatic HG Format(uses the Simulink® file format selected in the Settings dialog box)Black & white encapsulated PostScriptBlack & white encapsulated PostScript (TIFF)Black & white encapsulated PostScript2Black & white encapsulated PostScript2 (TIFF)Color encapsulated PostScriptColor encapsulated PostScript (TIFF)Color encapsulated PostScript2Color encapsulated PostScript2 (TIFF)JPEG high quality imageJPEG low quality imageJPEG medium quality imagePDF imagePNG 24-bit imageTIFF - compressedTIFF - uncompressedWindows metafile
Capture figure from screen: Captures the figure as it appears on the display excluding the window borders, figure tools, and title bar.
Print Options
Paper orientation:
LandscapePortraitRotatedUse figure orientation: Uses the orientation for the figure, which you set with theorientcommand.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
orientcommand in the MATLAB® documentation.Image size:
Use figure PaperPositionMode setting: Uses thePaperPositionModeproperty of the figure as the image size in the report. For more information about paper position mode, see theorientcommand 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. In the text field below the Image size list, enter the size by using the format[width height]. Then, in the dropdown list to the right of the text field, select the units for the size of the image.
Background colors: Specifies the colors to use for printing. To change the colors in an image, choose one of these options:
Automatic: Prints the snapshot with the light graphics theme.Light graphics theme: Prints the snapshot with a white background and dark-colored graph lines and text.Dark graphics theme: Prints the snapshot with a dark-colored background and light-colored graph lines and text.Preserve figure and axes background colors: Preserves the colors in the original image as displayed on the screen.Make figure background white: Prints the snapshot with a white background.
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 image. In the text field, enter the size by using the format
[width height]. Then, in the dropdown list to the right of the text field, select the units for the size of the image. These fields are active only if you chooseFixed sizein the Scaling dropdown list.Max size: Specifies the maximum size of the image. In the text field, enter the size by using the format
[width height]. Then, in the dropdown list to the right of the text field, select the units for the size of the image. These fields are active only if you chooseZoomin the Scaling dropdown list.Alignment: Only reports in PDF or RTF format support this property.
AutoRightLeftCenter
Title: Specifies a title for the figure:
Custom: Specifies a custom title.Name: Specifies the figure name as the title.
Caption: Specifies text to appear under the image.
Insert Anything into Report?
Yes. Image.
Class
rptgen_hg.chg_fig_snap