comdraw(1)
NAME
comdraw - drawtool with distributed command interpreter
SYNOPSIS
comdraw [-port n] [-import n] ['X-params'] [file]
DESCRIPTION
Arrayin quotes) or flt (which are conventional floating point numbers). "compview" is a graphical object assigned to an interpreter variable.
DRAWING COMMANDS
- Arraycompview=ellipse(x0,y0,r1,r2) -- create a rectangle
compview=text(x0,y0 textstr) -- create a text string
compview=multiline(x0,y0[,x1,y1,...]) - - create a multiline
- compview=arrowmultiline(x0,y0[,x1,y1,...]) -
- create a multiline with arrows
- compview=openspline(x0,y0[,x1,y1,...]) -
- create an open spline
- compview=arrowspline(x0,y0[,x1,y1,...]) -
- create an open spline with arrows
- compview=polygon(x0,y0[,x1,y1,...]) -
- create a polygon
- compview=closedspline(x0,y0[,x1,y1,...]) -
- create a closed spline
- compview=raster(x0,y0,x1,y1) -
- create an empty raster
GRAPHIC STATS COMMANDS
- Arrayptlist=points(compview) -- return point list from com
- pview graphic
GRAPHIC STATE COMMANDS
- font(fontnum) -- set current font from menu
brush(brushnum) -- set current brush from menu
pattern(patternnum) - - set current pattern from menu
- colors(fgcolornum bgcolornum) -
- set current colors from menu
- nfonts() -- return size of font menu
nbrushes() -- return size of brush menu
npatterns() -- return size of pattern menu
ncolors() -- return size of color menus
DIRECT MANIPULATION COMMANDS
- select([compview ...] :all :clear) -
- make these graphics the current selection
- delete(compview [compview ...]) -- delete graphic(s)
move(dx dy) -- move current selection
scale(xflt yflt) -- scale current selection
rotate(degflt) -- rotate current selection
GROUP/UNGROUP COMMANDS
- Arraynewgroup=trimgroup(groupview compview) -- remove graphic
- from existing group graphic
COMPONENT AND ATTRIBUTE COMMANDS
- Arraynum=size(list|attrlist|compview) -- return size of a
- list.
VIEWER COMMANDS
update() -- update viewer
Arrayncols() -- onscreen horizontal extent in pixels
nrows() -- onscreen vertical extent in pixels
Arrayzoom(zoomflt) -- zoom by factor
zoomin() -- zoom-in by 2
zoomout() -- zoom-out by 2
pan(px py) -- pan viewer
smallpanup() -- small pan up
smallpandown() -- small pan down
smallpanleft() -- small pan left
smallpanright() - small pan right
largepanup() -- large pan up
largepandown() -- large pan down
largepanleft() -- large pan left
largepanright() -- large pan right
IMAGING COMMANDS
Arrayalpha(compview [alphaval]) -- set/get alpha transparency
PLOTTING COMMANDS
Arrayytitle_str :valtitle valtitle_str :newview) -- display a barplot
OTHER COMMANDS
Arrayrun(filename) -- run commands from file
quit() -- quit this interpreter
exit() -- exit entire application
pause([msgstr]) -- pause script execution until C/R
OPTIONS
- Array-tile,
- enables the automatic raster tiling.
- Also see the -help message and the drawtool and idraw man
- pages for further options.
SEE ALSO
comterp, drawtool, idraw
WEB PAGES
- http://www.ivtools.org/ivtools/comdraw.html
- COM