View - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

ImageTools

 View
 display images in a maplet

 Calling Sequence View( row1, row2, ..., opts )

Parameters

 rowi - (optional) Image or list(Image); row of images opts - (optional) equation(s) of the form option = value; specify options for the View command

Options

 • tempdir = string
 Specifies the temporary directory into which images can be written. The default is system specific.
 • title = string
 The title displayed in the Maplet titlebar. The default is Image View.

Description

 • The View command launches a Maplet dialog that displays rows of images. Each row can contain one or more images.
 • If the parameter rowi is an image, then that image is displayed in row i.
 • If the parameter rowi is a list of images, then each of the images is displayed in row i. The first image in the list is displayed on the left.
 • The first row (row1) is the upper-most.

Examples

 > $\mathrm{with}\left(\mathrm{ImageTools}\right):$

Create two images.

 > $\mathrm{img1}≔\mathrm{Create}\left(100,200,\left(r,c\right)↦\mathrm{evalf}\left(0.5\cdot \mathrm{sin}\left(\frac{r}{50}\right)+0.5\cdot \mathrm{sin}\left(\frac{c}{30}\right)\right)\right):$
 > $\mathrm{img2}≔\mathrm{Complement}\left(\mathrm{img1}\right):$

Display a single image.

 > $\mathrm{View}\left(\mathrm{img1}\right)$

Display two images side by side.

 > $\mathrm{View}\left(\left[\mathrm{img1},\mathrm{img2}\right]\right)$

Display two images above each other.

 > $\mathrm{View}\left(\mathrm{img1},\mathrm{img2}\right)$

Display four images in a 2 by 2 grid.

 > $\mathrm{View}\left(\left[\mathrm{img1},\mathrm{img2}\right],\left[\mathrm{img2},\mathrm{img1}\right]\right)$

 See Also