|
From: André W. <wo...@us...> - 2008-08-25 17:36:12
|
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
/ \ \ / ) wo...@us..., http://www.wobsta.de/
/ _ \ \/\/ / PyX - High quality PostScript and PDF figures
(_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/
|