3D mesh plot with colour
2 views (last 30 days)
Show older comments
Hi
I have some L*, a*, b* data. Sample data look like something below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171239/image.png)
Can I possibly do a 3D colour plot with these data like something like this (shown below)?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171240/image.png)
The thing that I don't quite understand is that to use meshgrid and then surf. It looks like there needs to be an equation but here L a and b are independent values. L is not a function of a and b. So it seems like using meshgrid then surf is not right? Am I thinking wrongly?
Can someone help please?
0 Comments
Answers (0)
See Also
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!