Plot lines appear fuzzy

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 个评论

which Renderer are you using?
get(gcf,'Renderer');
you can also try setting to painters renderer
set(gcf,'Renderer','painters')
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

请先登录,再进行评论。

回答(2 个)

0 个投票

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 2023-3-6

0 个投票

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.

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

版本

R2022a

提问:

2023-3-6

评论:

2023-3-6

Community Treasure Hunt

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

Start Hunting!

Translated by