Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 9b3ef98d82282343cfac7f840aa5ab34 > files > 361

PyX-0.11.1-1.fc15.i686.rpm

Split axis at certain values

A typical use-case for a split axis is to use some special positions on the
axis to mark the axis breaks. ... For that the `splitatvalue` function is
available in all places, where expressions are evaluated in the `graph.data`
classes. Here we create a special parametric function where split positions for
the x axis are added by the `splitatvalue` function and the y function is a
simple polynomial of high order. Note that you can set several split positions
by additional parameters of the `splitatvalue` function. In that case
the `splitatvalue` function marks odd regions to be a "None", by which those
data values are ignored by the `splitaxis` instance.