~ubuntu-branches/debian/sid/pyx/sid

« back to all changes in this revision

Viewing changes to examples/axis/minimal.txt

  • Committer: Bazaar Package Importer
  • Author(s): Stuart Prescott
  • Date: 2011-05-20 00:13:52 UTC
  • mto: (9.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20110520001352-odcuqpdezuusbbw1
Tags: upstream-0.11.1
ImportĀ upstreamĀ versionĀ 0.11.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Minimal example for drawing an isolated axis
 
2
 
 
3
This is the basic example of how to draw an axis alone -- without the whole
 
4
graph. It serves to simplify the following examples. ... The function
 
5
`pathaxis` from the `graph.axis` module takes a path and returns a canvas which
 
6
contains the drawn axis.
 
7
 
 
8
In contrast to the typical usecase of graphs containing data, we here have to
 
9
provide the range explicitly (using the `min` and `max` arguments). For real
 
10
graphs the range of an axis, of course, is adjusted automatically, although you
 
11
can still set minimal and/or maximal values to force a certain axis range.