There is quite a difference in the way plot and plots:-pointplot handles colors when using lists of HSV or HUE values.

In the first example below the colors are quite different when using plot and pointplot with HSV.

In the second example plot handles HUE values, but pointplot reports an error.

#First HSV

plot([k$k=0..4],0..1,color=[seq(COLOR(HSV,k/4,1,1),k=0..4)],thickness=50,axes=none);
plots:-pointplot([[k,k]$k=0..4],symbolsize=100,symbol=solidcircle,color=[seq(COLOR(HSV,k/4,1,1),k=0..4)],axes=none);

#Now HUE.

plot([k$k=0..4],0..1,color=[seq(COLOR(HUE,k/4),k=0..4)],thickness=50,axes=none);
plots:-pointplot([[k,k]$k=0..4],symbolsize=100,symbol=solidcircle,color=[seq(COLOR(HUE,k/4),k=0..4)],axes=none);
 

May I assume there is a bug somewhere?

Preben Alsholm


Please Wait...