Question: Problem with pointplot with multiple colors and connect option

Hello,

I have 4 points in 2D and I want to plot them with different colors:

This works in Maple 12:

plots[pointplot]([1,2,3,4],[5,4,7,8],color=["Red","Blue","Magenta","Pink"]);
 

And I want to connect each other with line segments:

But this doesn't work:

plots[pointplot]([1,2,3,4],[5,4,7,8],color=["Red","Blue","Magenta","Pink"],connect=true);

Error, (in plots/pointplot) number of colors must match number of points
 

I find it strange. Perhaps Maple wants to use only one color for the line.

 

 

Please Wait...