axiom-mail
[Top][All Lists]
Advanced

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

[Axiom-mail] Drawing two curves simultaneously, two different colours?


From: Alasdair McAndrew
Subject: [Axiom-mail] Drawing two curves simultaneously, two different colours?
Date: Mon, 16 Nov 2015 19:46:28 +1100

When I last asked (about seven years ago!) how to draw two curves (in 2D) on the one set of axes, Bill Page immediately and obligingly provided me with a little gem of a function that you can see at

https://lists.gnu.org/archive/html/axiom-mail/2008-05/msg00038.html

Now I know that it's supposedly possible to colour one's curves: such documentation as I've been able to dig up makes reference to the "spadcolors palette": there's even a domain PAL (Palette), but I can't find how to actually specify a colour; whether RGB (and in which case as a list of three integers each between 0 and 255, or hexadecimal, or by name, or some other method). 

Or can this whole business now be done neatly with gnuDraw?  I note that gnuDraw, while no doubt excellent, has no examples in its documentation, so I've no idea how to actually use it.

Note: I've checked out color.spad, palette.spad, and view2D.spad, but without a couple of examples I'm somewhat at sea.

cheers,
Alasdair


--
http://www.facebook.com/alasdair.mcandrew https://plus.google.com/+AlasdairMcAndrew/posts https://www.linkedin.com/pub/alasdair-mcandrew/a/178/108 https://twitter.com/amca01 http://numbersandshapes.net

reply via email to

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