Hi Michael and Joerg,

Your explanations were complementary and helpful.
Let me respond in more detail later. But first:

Where in the docs is there as clear a statement about 
xgridpath as this one (offered by Joerg)?

        "The graph method xgridpath returns a path along 
        a line of constant x in the plot area of the graph."

This is basically what I'd guessed from the example, of 
course, but pins down some important details.

Here is how a user (e.g., me) might look.

>>> help(pyx.graph.graphxy.xgridpath)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    AttributeError: class graphxy has no attribute 'xgridpath'
>>> g=pyx.graph.graphxy(width=3)
>>> help(g.xgridpath)
    Help on method gridpath in module pyx.graph.axis.axis: 
    gridpath(self, x) method of pyx.graph.axis.axis.anchoredaxis instance
>>> help(pyx.graph.axis.axis.anchoredaxis.gridpath)
    Help on method gridpath in module pyx.graph.axis.axis: 
    gridpath(self, x) unbound pyx.graph.axis.axis.anchoredaxis method

Ouch. OK, try looking here:
<URL:http://pyx.sourceforge.net/manual/module-graph.graph.html>
and find:

    Further geometry information is available by the axes 
    instance variable, with is a dictionary mapping axis 
    names to anchoredaxis instances. Shortcuts to the 
    anchoredaxis positioner methods for the x- and y-axis 
    become available after dolayout() as graphxy methods 
    Xbasepath, Xvbasepath, Xgridpath, Xvgridpath, 
    Xtickpoint, Xvtickpoint, Xtickdirection, and 
    Xvtickdirection where the prefix X stands for x and y.

Hmmm, OK, but what *are* those things individually?  Some
are pretty obvious, but not xgridpath (despite its name;
I do not want to just guess based on that).

OK, look here:
<URL:http://pyx.sourceforge.net/manual/module-graph.axis.axis.html>
and find:
    gridpath(x)
        Returns a path instance for the grid path at 
        position x. Might return None when no grid path is 
        available.

OK, but what is a "grid path"?  I'm still guessing.

Dead end. Give up and write list.   ;-)

Hope that clarifies some points where additional help would 
be useful.

Cheers,
Alan




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to