Add a color scale to a scatterplot marker based on an external variable.
I am creating a 3D scatterplot that plots points in a grid using x y and z coordinates to describe their spatial position. I want to color those markers based on a temperature property at each of those points. So far, I’ve only found ways to add a color bar directly related to the x, y or z coordinate. However, I want to plot based on another outside variable.I am creating a 3D scatterplot that plots points in a grid using x y and z coordinates to describe their spatial position. I want to color those markers based on a temperature property at each of those points. So far, I’ve only found ways to add a color bar directly related to the x, y or z coordinate. However, I want to plot based on another outside variable. I am creating a 3D scatterplot that plots points in a grid using x y and z coordinates to describe their spatial position. I want to color those markers based on a temperature property at each of those points. So far, I’ve only found ways to add a color bar directly related to the x, y or z coordinate. However, I want to plot based on another outside variable. colorbar, variable, marker, plot, scatter3 MATLAB Answers — New Questions