Plot is pixelated, graphics smoothing and opengl not helping

I am trying to plot a figure and all of the lines are pixelated. I found the example on graphics smoothing here:
>> set(gcf,'GraphicsSmoothing','on')
did not change the lines at all, they were still pixelated. I have also tried
>> opengl software
to no avail. Ideas?

Answers (1)

Hi Angela,
Software OpenGL does not support some graphics features, such as graphics smoothing. In some cases, MATLAB automatically switches to software OpenGL, for example, if it detects known issues such as outdated drivers or graphics virtualization. You can try updating your graphics driver which might help to resolve to such issues.
If you saved a setting to always start MATLAB with software OpenGL, then after updating your drivers, you can revert that setting by executing
opengl('save','hardware')
Then restart MATLAB.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Asked:

on 18 Sep 2019

Answered:

on 9 Jun 2020

Community Treasure Hunt

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

Start Hunting!