Drawing two curves simultaneously, two different colours?

Alasdair McAndrew <[email protected]> Mon, 16 Nov 2015 19:46:28 +1100
Newsgroups gmane.comp.mathematics.axiom.user
Message-ID <CAPGiC77psQxQF0EKsWUG9_3pzLWQBPryx32YyukR+zNmHtgQZQ@mail.gmail.com>
--===============8603176739884057721==
Content-Type: multipart/alternative; boundary=94eb2c0baab0ecd3650524a47190

--94eb2c0baab0ecd3650524a47190
Content-Type: text/plain; charset=UTF-8

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


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

--94eb2c0baab0ecd3650524a47190
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div>When I last asked (about seven years a=
go!) how to draw two curves (in 2D) on the one set of axes, Bill Page immed=
iately and obligingly provided me with a little gem of a function that you =
can see at <br><br><a href=3D"https://lists.gnu.org/archive/html/axiom-mail=
/2008-05/msg00038.html">https://lists.gnu.org/archive/html/axiom-mail/2008-=
05/msg00038.html</a><br><br></div>Now I know that it&#39;s supposedly possi=
ble to colour one&#39;s curves: such documentation as I&#39;ve been able to=
 dig up makes reference to the &quot;spadcolors palette&quot;: there&#39;s =
even a domain PAL (Palette), but I can&#39;t find how to actually specify a=
 colour; whether RGB (and in which case as a list of three integers each be=
tween 0 and 255, or hexadecimal, or by name, or some other method).=C2=A0 <=
br><br></div>Or can this whole business now be done neatly with gnuDraw?=C2=
=A0 I note that gnuDraw, while no doubt excellent, has no examples in its d=
ocumentation, so I&#39;ve no idea how to actually use it.<br><br></div><div=
>Note: I&#39;ve checked out color.spad, palette.spad, and view2D.spad, but =
without a couple of examples I&#39;m somewhat at sea.<br></div><div><br></d=
iv>cheers,<br></div>Alasdair<br><div><div><div><div><div><br clear=3D"all">=
<div><br>-- <br><div class=3D"gmail_signature"><div dir=3D"ltr"><a href=3D"=
http://www.facebook.com/alasdair.mcandrew" target=3D"_blank"><img alt=3D"ht=
tp://www.facebook.com/alasdair.mcandrew" src=3D"https://dl.dropboxuserconte=
nt.com/u/2796170/facebook.png"></a> <a href=3D"https://plus.google.com/+Ala=
sdairMcAndrew/posts" target=3D"_blank"><img alt=3D"https://plus.google.com/=
+AlasdairMcAndrew/posts" src=3D"https://dl.dropboxusercontent.com/u/2796170=
/f-gplus_256-48.png"></a> <a href=3D"https://www.linkedin.com/pub/alasdair-=
mcandrew/a/178/108" target=3D"_blank"><img alt=3D"https://www.linkedin.com/=
pub/alasdair-mcandrew/a/178/108" src=3D"https://dl.dropboxusercontent.com/u=
/2796170/linkedin.png"></a> <a href=3D"https://twitter.com/amca01" target=
=3D"_blank"><img alt=3D"https://twitter.com/amca01" src=3D"https://dl.dropb=
oxusercontent.com/u/2796170/twitter.png"></a> <a href=3D"http://numbersands=
hapes.net" target=3D"_blank"><img alt=3D"http://numbersandshapes.net" src=
=3D"https://dl.dropboxusercontent.com/u/2796170/wordpress.png"></a><br></di=
v></div>
</div></div></div></div></div></div></div>

--94eb2c0baab0ecd3650524a47190--


--===============8603176739884057721==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Axiom-mail mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/axiom-mail

--===============8603176739884057721==--