![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/284871/image.jpeg)
Setting certain edges of a graph a different color
2 次查看(过去 30 天)
显示 更早的评论
Can someone show me (if possible) to change a certain edge(s) of a graph to color white like the example graph below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/284863/image.png)
0 个评论
回答(1 个)
dpb
2020-4-16
You mean like the following:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/284871/image.jpeg)
subplot(2,1,1)
plot(rand(10,1))
title('default -- top/bottom outlined w/ box on')
subplot(2,1,2)
plot(rand(10,1))
box off
title('no box -- top/bottom not outlined')
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!