if(cat>(catColors.size-1),{"FluidPlotter:setCategories_ FluidPlotter doesn't have that many category colors. You can use the method 'setColor_' to set colors for individual points.".warn});
varcategory_int;
col=catColors[cat];
varcolor;
pt.color_(col);
if(label_to_int.at(category_string).isNil,{
label_to_int.put(category_string,counter);
counter=counter+1;
});
category_int=label_to_int.at(category_string);
if(category_int>(catColors.size-1),{
"FluidPlotter:setCategories_ FluidPlotter doesn't have that many category colors. You can use the method 'setColor_' to set colors for individual points.".warn