Hello,
I plotted the points from a data file, e.g.:
0.194 0.854
0.451 0.907
0.660 0.124
0.834 0.195
0.022 0.911
0.055 0.216
0.275 0.704
0.311 0.554
0.641 0.687
0.386 0.543
with the standard command
g = graph.graphxy(width=8,height=8)
g.plot(graph.data.file("datafile.dat", x=1, y=2), [graph.style.symbol
(graph.style.symbol.circle, size=0.1, symbolattrs=[deco.filled])])
Now, I want to draw a straight line between some of these points, for
example from the point (0.194, 0.854) to the point (0.311, 0.554).
How can I do this? With path.line() and stroke() the points are not
in graph (axis) coordinates...
Thank you in advance,
Riccardo Campana
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user