Plot lines appear fuzzy

34 views (last 30 days)
Tomás
Tomás on 6 Mar 2023
Commented: Tomás on 6 Mar 2023
When using plot in 2022(a) with Windows 10, the lines appear fuzzy in the Figure pop-up in the matlab software :
Upon copying the figure and pasting in a powerpoint for example, the lines appear smooth:
Is this a matlab or Windows issue?
  2 Comments
Jonas
Jonas on 6 Mar 2023
which Renderer are you using?
get(gcf,'Renderer');
you can also try setting to painters renderer
set(gcf,'Renderer','painters')
Tomás
Tomás on 6 Mar 2023
it was on opengl. i tried painters and the lines still look fuzzy.
>> opengl info
Version: '4.5.13399 Compatibility Profile Context 15.201.1151.1008'
Vendor: 'ATI Technologies Inc.'
Renderer: 'AMD Radeon HD 7500 Series'
RendererDriverVersion: '15.201.1151.1008'
RendererDriverReleaseDate: '04-Nov-2015'
MaxTextureSize: 16384
Visual: 'Visual 0x08, (RGBA 32 bits (8 8 8 8), Z depth 16 bits, Hardware acceleration, Double buffer, Antialias 8 samples)'
Software: 'false'
HardwareSupportLevel: 'full'
SupportsGraphicsSmoothing: 1
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 1
Extensions: {266×1 cell}
MaxFrameBufferSize: 16384

Sign in to comment.

Answers (2)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 6 Mar 2023
One quick solution is to enlarge (Maximize) the figure window and then to restore (Restore) it ints original size using the right corner buttons that should clear up the fuzziness.

Vilém Frynta
Vilém Frynta on 6 Mar 2023
well, are your data perfectly linear? if these are your data, Matlab will interpret them in the way they are, which may be "fuzzy" looking.
i'm not well aware on importing figures into PowerPoint, however, if you actually input file with data, it is possible that PowerPoint just makes it look nicer.
if you want to find out: you can try saving your figure as an image, and then you will see. if the saved image is same as in Figure Window, then it's Windows issue. if the image is same as in PowerPoint, then it's Matlab issue.
thought, this is just my guess, there may be a more sophisticated way.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!