Clear Filters
Clear Filters

Plot is pixelated, graphics smoothing and opengl not helping

33 views (last 30 days)
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)

Saket Chirania
Saket Chirania on 9 Jun 2020
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 Graphics Performance in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!