- make-plotter type out params #!key errprocedure
Creates and initializes a new plotter.
- type
- A plotter-type value specifying the output format
- out
- Output port for plotter graphics data
- params
- List of plotter-parameter values for configuration
- err
- Optional error output port (keyword argument)
Returns a plotter object. The parameter list is processed internally, so you don't need to manage the parameter structure manually.
Example:
(define plotter (make-plotter (PNG) (open-output-file "output.png") (list (PAGESIZE "A4") (INTERLACE #t) (BG_COLOR "white"))))