Hello,

I need to make a surf plot in VB using calculated values contained in a matrix which are then converted to an RGB value and then plotted.

I use the internal PSet function which accepts an RGB value. Is it really that slow compared to SetPixel ? Are there any faster API calls ? Does SetPixel accept an RGB value as a color ?

Another issue is that I need to set the "point" as a square shape. However, depending on how fine the resolution is chosen by the user, the square should sometimes be "small" and sometimes "big".

Is there any way I can do this ?

Thanks in advance guys.