Hi,
For your case, you can get the scatter color from the original plot first, and then set back this color after replot. For example:
for(ii=1; ii<=page.nlayers; ii++)
{
page.active = ii; // activate the iith layer
get %C -cse mycolor; // get original color
layer -i200 %C; // replot as line, 200=line, 201=scatter
set %C -cl mycolor; // set back the color
}
Penn