how to set color in plot
Show older comments
actually,i try to create a plot that containts three variables (structure, noise, diversity). i use the data that generated from excel. the most important fact is how to set color of the data as in the example image
example data from excel : structure = 0.7; noise = 6; diversity = 14; visual complexity value = 0.4; then, color of data = purpel

4 Comments
Jan
on 2 Apr 2013
I've tried to close this message without success. Due to the absolute absence of any information about this image, it is impossible to guess, what exactly you try to "make".
This is actually such lean, that I think of a late April joke.
Thanks for editing your question. Does this mean, that you want to create a colormap? I don't understand, what the "example data" mean. Are you looking for a method to set the color of drawn points, or a function to define the color depending on the values?
Please do not let us guess the details.
Fathor
on 2 Apr 2013
Walter Roberson
on 2 Apr 2013
That's what my scatter3() solution does.
Accepted Answer
More Answers (0)
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!