prepare manual for rest conversion
[PyX/mjg.git] / examples / graphstyles / changesymbol.txt
blobfd72519d3a0f2526a8f268aa488c86553eb82376
1 Add functionality to existing graph styles
3 ! In this example demonstrate how graph styles can be modified to add further
4 functionality to them. ... Here we create changesymbol styles based on PyX's
5 symbol style. For that two additional column names are introduced that way,
6 that they can be modified in the constructor of the style. The column names are
7 then registered by the adjusted version of the `columnnames` method. After that
8 we only need to replace the drawpoint method by a modified version, which
9 implements the additional functionality. This new created style can than be
10 used like any other graph style.