Euler Math Toolbox 2014-02-19

I extended the function color() so that it accepts vectors of colors. These vectors are used by line plots or marker plots with matrices. Each row of the matrix is plotted with a different color.

>x=linspace(0,1,200); y=x^(1:10)'; plot2d(x,y,color=1:10):

plot

The trick works for statplot() too.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.