Hi, I have a basic plot in MATLAB (plot(x,y)), but when I add patches to the figure (in order to shade regions of night), it changes the original plot line to a step-like line. I am not quite sure why the addition of patches does this. I have two links to images: the first shows the original plot and the second shows what happens to the plot with the addition of patches. Any help would be greatly appreciated. Thank you.
MATLAB: Plot Line Changes When Adding Patches
datenumdatetickopenglpatchplotprecisionrenderer
Best Answer