"Page, Bill" <[EMAIL PROTECTED]> writes: > On Wednesday, August 24, 2005 2:02 AM I wrote: >> >> > ... >> > 3. Change the high-level drawing code, so that instead of calling >> > the low-level drawing code it just prints the list lists of >> > points, which are to be connected by lines, to standard output >> > with markers to ease extraction. This might still break existing >> > code. >> > >> > The approach I'm taking now is essentially #3 with the difference >> > that I copied algebra/draw.spad.pamphlet to uidraw.spad.pamphlet >> > and modified that. It actually seems to work. Right now I'm >> > integrating this with the gui, so that on startup uidraw.spad gets >> > loaded. >> >> Excellent. That is exactly the right way to proceed. >> > > It occurs to me to ask if you are already familiar with the following > Axiom commands: > > vp1:=draw(sin(x), x=%pi/10..%pi) > g1:=getGraph(vp1,1) > pointLists(g1) > ... > g2:=makeGraphImage(lineSegments, lineColors, pointColors, lineSize) > pointLists(g2) I know these commands and I actually had working code using this approach. The problem with this is that it messes up the history.
Luckily uidraw.spad is just draw.spad with a few lines added. It's fairly trivial, really. Kai _______________________________________________ Axiom-developer mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/axiom-developer
