Infobox

From Eigenvector Research Documentation Wiki
Revision as of 16:13, 16 September 2008 by imported>Scott (New page: ===Purpose=== Display a text message in an information box. ===Synopsis=== :fig = infobox(string,options) :infobox(fig,string,string) :infobox(fig,'font',fontname,fontsize) :infobox(fig...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Display a text message in an information box.

Synopsis

fig = infobox(string,options)
infobox(fig,string,string)
infobox(fig,'font',fontname,fontsize)
infobox(fig,'name',figurename)

Description

When called with a string input (string), infobox creates a figure with a scrollable listbox. The contents of the listbox can be copied to the system clipboard for pasting into other programs. The output of infobox is (fig) the handle of the newly created figure.

Options

options = a structure array with the following fields:

  • figurename: [{'Information'}] default name of infobox figure.
  • maxsize: [width height] maximum default size of window in characters.
  • fontname: [{}| fontname ] default font for listbox (empty = use system default).
  • fontsize: [{[]}| fontsize ] default font size for listbox (empty = use system default).
  • visible: [{'on'}| 'off'] visibility of new infobox figures.
  • openmode: [{'reuse'}| 'new' ] reuse existing infobox figure or create a new figure.

Example

>>This is an example
Error: does not exist

See Also

baselinew, deresolv