Farben

Einsatz von Farben in Maple:

> plot(sin,color=gold,title=`gold`);
plot(cos,color=pink,title=`pink`);

[Maple Plot]

[Maple Plot]

In Himmelblau

> macro(skyblue = COLOR(RGB, 0.1960, 0.6000, 0.8000));
plot(tan(x), x = -1..1, color=skyblue);

[Maple Plot]

Zufällige Farbzuweisung in einem Schachbrett

> p := seq(seq(plots[polygonplot]([[i,j],[i+1,j],[i+1,j+1],[i,j+1]],
color=COLOR(RGB,rand()/10^12,rand()/10^12,rand()/10^12)),i=1..10),j=1..10):
plots[display]([p]);

[Maple Plot]

Polygon-Animation mit zufällig wechselnder Farbe

> with(plots):

> p := seq(plots[polygonplot]([[0,0],[1,0],[1,1],[0,1]], axes=none,
color=COLOR(RGB, rand()/10^12, rand()/10^12, rand()/10^12)), i=1..20):
display([p],insequence=true,axes=none);

[Maple Plot]

>