Issues with the quality difference between plots created in live script and normal script or command window.
26 views (last 30 days)
Show older comments
Hey there, recently I've updated from 2024b to 2025a and immediately the thing that grabbed my attention was the fact that plots created in live editor and command window are vastly different in resolution and smoothness. I've tried searching for people with similar experience in Matlab answers but couldn't find anything related. Some had issues with the gpu or renderer but my problem is only happening in live editor.
Here's a comparison between a plot created in two environments:
clear; close; clc
t = linspace(0, 2*pi, 1000);
f = 4;
y = 0.8*sin(2*pi*f*t);
figure
plot(t, y)
axis tight
Lower res from live editor:

Higher res from work space:

I've also attached the plots incase uploding them corrupts the quality.
Now the interesting thing is that when I open up the figure window of the same plot that I had created in live editor then suddenly the quality is high again. I tried my luck with chat gpt and grok but they were pulling their results from the same forums that I had already visited so nothing useful was found that way.
5 Comments
Walter Roberson
on 7 Sep 2025
You should expect lower resolution for the inline plots. The inline plots are inline, and need to fit in a smaller space.
Antonio Sala
on 6 Oct 2025 at 19:04
Edited: Antonio Sala
on 6 Oct 2025 at 19:04
In 2024b this did not happen. I am also affected in 2025b (and 2025a)... yes, under Ubuntu 25.04. MLX plots seem to be rendered at "100%" small size and resolution, looking good at 100% zoom, but if I increase the editor zoom factor and rerun, they keep low-res, pixelated, whereas in R2024b they were rendered at high-resolution when running the script with 300% editor zoom, say.
Answers (0)
See Also
Categories
Find more on Data Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!