How can i change colour of a 3D plot?
4 次查看(过去 30 天)
显示 更早的评论
I have been trying to plot a 3D curve consisting of 4 variables :3 along the three axes and the fourth one as the parameter.As i change the value of the parameter the graph changes accordingly but since the new graph's color is similar to the old one it is difficult to distinguish them..the image has D2 as a parameter. Can i change the color of the graph according to the legend function? Thanks!
0 个评论
回答(1 个)
Gaurav Srivastava
2019-5-30
Carefully observe the table, and the syntax is
plot(x,y,'r+-') %r=Colour(here red) , +=Marker style(here plus) , -=Line style(here solid)
Check the table
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!