Sunday 15 August 2010

MATLAB R2014b: Rendering plots with lines in the same place -



MATLAB R2014b: Rendering plots with lines in the same place -

since version r2014b, matlab renders graphics nicely anti-aliased (finally!)

however, causes glitch in way displays of figures. if plot line, utilize hold on , plot line in same place different colour, line appears in mottled combination of both colours. in past, line appear last colour plotted in location.

here's illustration of trace in blue, sections (the steeper bits) showing greenish line. in previous matlab versions, greenish lines continuous, of bluish line shows through.

is there neat way work around in new version, or have ensure remove existing lines before plotting in same place?

when overplotting, new anti aliasing plots can have bleed through, try

set(gcf,'graphicssmoothing','off')

to see if restores functionality you're used to.

ref: http://www.mathworks.com/matlabcentral/answers/157758-how-do-i-turn-off-antialiasing-in-matlab-r2014b

matlab plot matlab-figure matlab-hg2

No comments:

Post a Comment