[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Re: [build Axiom] updated Windows buildinstruction

From: Kai Kaminski
Subject: Re: [Axiom-developer] Re: [build Axiom] updated Windows buildinstructions
Date: Thu, 21 Sep 2006 18:10:26 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Ralf Hemmecke <address@hidden> writes:

> On 09/21/2006 04:55 PM, Page, Bill wrote:
>>>    echo "draw(...)" | axiom >
>> Yes, all you need is to be using a machine that has X11
>> installed.
> Thank you, Bill. I really thought that it would have been easier.
> Does somebody know why X11 is required? Axiom was also sold on Windows
> if I am not completely wrong. How did NAG produce graphics there?
I don't know about that.

> I quickly looked at src/algebra/view2D.spad but I could not see
> anything related to X. Since I have no idea what
> refers to, I am out of business. :-( But I really really wonder, why X
> is a must for draw and/or write. Does Axiom (through LISP) call some
> functions from X?
There is no X11 code in Axiom proper. Axiom only sends the plot data
to Viewman (see the src/graph subdirectory) or one of his friends (I
don't remember the details). They create the graphics and the ability
to dump PS files. Needless to say, they need X11.

Interesting places to look at are (all under $AXIOM/SRC):


To address your problem: I seem to remember that there is a simple way
to print the plot data (i.e. the list of points) to the console. If
not, simply change VIEW2D.SPAD. Then feed that list to GnuPlot.

I attached UIDRAW.SPAD.PAMPHLET, which is a modified VIEW2D.SPAD
(iirc). I used it to generate plot data for my SOC project. I'm sure
you could do a better job, but it worked for me. It prints the data as
Lisp sexps, though. You should probably change that. You also need
*PRINT-ARRAY* to be T.


Attachment: uidraw.spad.pamphlet
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]