Graphics Control

The CAMgraphicsProcess control and layout member functions are used to specify the output driver (by attaching one), manage the drawing of plots on separate frames (or pages) and manage the drawing of multiple plots on a single page (creating subplots).


Attach/Detach Drivers :

attachDriver(CAMgraphicsDriver D) CAMgraphicsProcess output will be sent to graphics output driver D.


detachDriver()
Detaches the currently attached CAMgraphicsDriver.

Page Control :

frame() The current graphics page is completed and a new blank page is created.

Output Layout : 

setFrame(left, right, bottom, top) Sets the portion of the page the plot will occupy. Specified w.r.t. [0,1]X[0,1].


subPlotOn(m ,n)
Enter the subplot mode with an m by n matrix of subplots.


subPlot(i,j)
Select output to be the ith row and jth column subplot.


subPlotOff()
Leave subplot mode.