Black Lives Matter. Please consider donating to Black Girls Code today.

Assign color to NA value


When I plot my values in ‘scatter3d’ object including NA values, NA values get automatically assigned to dark grey color. Does anyone know how to assign NA values to different color (such as grey75)?

Not at the moment. I’d recommend splitting your data into two traces: one of all non-NA, and the other with just NA values.

I see.

Will do that. Thank you!

Just another questions.

Splitting traces is an excellent idea, can i use to visualize two data points (in split data) with the same xyz coordinate ? (say data 1 = blue, data 2 = red, data1 +data 3 = green)?