show
show displays a chess figure.
Contents
Syntax
handle = show(fig_name,pos,color)
Description
A chess figure is displayed at a certain position.
Note: There are currently two sets of chess figures available.
Inputs:
- fig_name ... name of the chess figure
- pos ... the position of the chess figure
- color ... color of the chess figure (black or white)
- global board ... structure of the chess board and related information
- global layer ... display layer of graphic objects (z-coordinate)
Outputs:
- handle ... handle to chess figure
Example
Assume there is a global board and global layer variable defined. To display a white Knight at c3 [3 6] you would type show('N',[3 6],1).
See also
setFiguresPosition, Knight, Chess
Signature