Hi Stefan,

Am 25.08.2008 um 10:57 schrieb Stefan Schenk:
> Does anyone know a way in pyx to translate some graph-coordinate x  
> into a
> path-length?


Didn't you pointed out that using path "arithmetics" would be a  
perfect solution to the problem. Well, here too! Just use a grid path  
from the axis:

l = f.path.intersect(g.xgridpath(0.2))[0][0]

Note that l will be a normpathparam instead of a simple length, but  
this is a feature ... and you can do funny things with those  
parameters (like adding an arc length to such a parameter).


André

-- 
by  _ _      _    Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim
    / \ \    / )   [EMAIL PROTECTED], http://www.wobsta.de/
   / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
  (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/


-------------------------------------------------------------------------
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