Line resolution and crispness
4 次查看(过去 30 天)
显示 更早的评论
I notice that often when I draw lines in Matlab, the line is not very crisp. Here are two images where this cragginess is apparent. The images only differ by the thickness of the white line. They were both outputted to png format, but the loss in quality is apparent from the beginning, and within the Matlab figure window.
How can I make the white line smooth? It's not a question of using enough points within the curve. Increasing the number of points does not alleviate the cragginess.
0 个评论
回答(1 个)
Walter Roberson
2011-10-7
Possibly if you lifted the Z for the lines slightly higher? It appears to me that in places the corners of the blue patches are above the white line.
2 个评论
Bjorn Gustavsson
2011-10-7
In addition to Walter's trick you could perhaps increase the linewidth a bit? If you change the rotation of the axis after plotting the white line maybe the problem goes away if you set the final view-point before plotting the white line instead.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!