All Manuals > CAPI User Guide and Reference Manual > 23 LW-GT Reference Entries

NextPrevUpTopContentsIndex

basic-graph-spec

Structure class
Summary

Provides a mechanism to simplify generating a graph of a mathematical function which maps x to y.

Package

lw-gt

Accessors

basic-graph-spec-function
basic-graph-spec-start-x
basic-graph-spec-step-x
basic-graph-spec-range
basic-graph-spec-color
basic-graph-spec-thickness
basic-graph-spec-name
basic-graph-spec-x-scale
basic-graph-spec-y-scale
basic-graph-spec-x-offset
basic-graph-spec-y-offset
basic-graph-spec-var1
basic-graph-spec-var2
basic-graph-spec-var3
basic-graph-spec-var4
basic-graph-spec-var5
basic-graph-spec-var6

Description

The structure class basic-graph-spec provides a mechanism to simplify generating a graph of a mathematical function which maps x to y. Create it with make-basic-graph-spec.

Notes
  1. The basic-graph-spec mechanism is intended to make it simpler to repeatedly compute graphs for a function with values that may change. It is a thin layer, and you can implement you own version using generate-graph-from-pairs.
  2. basic-graph-spec is a structure type, and can be included in structures your define to extend the functionality.
See also

make-basic-graph-spec
Higher level - drawing graphs and bar charts


CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017

NextPrevUpTopContentsIndex