Figure axes disappear when using LineSmoothing-property
2 次查看(过去 30 天)
显示 更早的评论
plot(hax, TimeLine, xSignal, 'b','LineSmoothing', 'on');
causes this:
How can I fix it?
0 个评论
回答(1 个)
Image Analyst
2012-8-11
Turn line smoothing off - how about that? What's the point of line smoothing anyway - the data look so sharp and closely spaced that you probably don't notice any smoothing going on anyway.
1 个评论
Will Reeves
2014-9-17
Sorry, your "answer" neither an answer nor helpful. There are many reasons to use anti-aliased lines. I, personally, have a specific case in mind, the details of which I won't go into here (although I can say the data I have isn't "closely spaced")
The problem appears to be a "z-ordering" issue with the unsupported/undocumented "LineSmoothing" option. Unfortunately I can't see an easy way of moving the "box" to a higher z level.
Not that this is an answer either, but it is slightly more constructive...
I'm surprised that line smoothing isn't supported by now...
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!