Maplets[Examples] - Maple Programming Help

Maplets[Examples]

 ShowTable
 display a table to the user

 Calling Sequence ShowTable(L, opts)

Parameters

 L - nested list opts - equation(s) of the form option=value where option is one of caption, height, title, or width; specify options for the Maplet application

Description

 • The ShowTable(L) calling sequence displays a Maplet application containing a nested list (list of lists) interpreted as a table. The user can select OK to close the Maplet application and NULL is returned.
 • The ShowTable sample Maplet worksheet describes how to write a Maplet application that behaves similarly to this routine by using the Maplets[Elements] package.
 • The opts argument can contain one or more of the following equations that set Maplet application options.
 caption = string or symbol
 This option sets the caption of the Maplet application.  By default, there is no caption.
 height = posint
 The table height in pixels.  By default, this depends upon the entries in the table.
 title = string or symbol
 This option sets the title of the Maplet application.  By default, the title is Show Table.
 width = posint
 The table width in pixels.  By default, this depends upon the entries in the table.

Examples

 > $\mathrm{with}\left(\mathrm{Maplets}\left[\mathrm{Examples}\right]\right):$
 > $\mathrm{ShowTable}\left(\left[\left[x,\mathrm{sin}\left(x\right)\right],\mathrm{seq}\left(\left[\mathrm{evalf}\left[3\right]\left(\frac{2\mathrm{\pi }i}{20}\right),\mathrm{evalf}\left[4\right]\left(\mathrm{sin}\left(i\right)\right)\right],i=1..20\right)\right],'\mathrm{title}'="The Sine Function"\right)$