Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

Create a graph of the given dimension in points. Use a scale of 1.0 for the initial graph unit to be inches. Using any other number scales the unit accordingly. For example, using 1/2.54 will allow the use of centimeters as the initial unit.

Parameter Description
g graph context
w width of graph in points
h height of graph in points
s optional scale

Example

(define g (graph-new 430 320))
Clone this wiki locally