MATLAB: MATLAB Plot function, figure is acting weird

brokenfigureMATLABplotyellow

My figure that I created in MATLAB using Plot function looks like the picture.
Any idea why it is happening?
I haven't dont anything, last time it was just fine.
Thanks for the time
Capture.PNG

Best Answer

I don't really know what happened but when I open my MATLAB from command prompt using opengl the plot is back to normal. I tried it first on command prompt with this command:
matlab -softwareopengl
And then I set my MATLAB to be opened using opengl every time.
This is the link I got from MATLAB support team :
Controlling the OpenGL:
Just follow the step in the link.