Figure axes disappear when using LineSmoothing-property

2 visualizzazioni (ultimi 30 giorni)
plot(hax, TimeLine, xSignal, 'b','LineSmoothing', 'on');
causes this:
How can I fix it?

Risposte (1)

Image Analyst
Image Analyst il 11 Ago 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 Commento
Will Reeves
Will Reeves il 17 Set 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...

Accedi per commentare.

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by