Figure axes disappear when using LineSmoothing-property
    2 views (last 30 days)
  
       Show older comments
    
plot(hax, TimeLine, xSignal, 'b','LineSmoothing', 'on');
causes this:

How can I fix it?
0 Comments
Answers (1)
  Image Analyst
      
      
 on 11 Aug 2012
        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 Comment
  Will Reeves
      
 on 17 Sep 2014
				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...
See Also
Categories
				Find more on Annotations 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!

