You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
Figures from code executed on Answers are tiny
1 view (last 30 days)
Show older comments
When I run code here at Answers, generated figures are now much, much smaller than they used to be. (I can't remember how long this has been going on, or even if it happens every time.)

22 Comments
Paul
on 15 Feb 2024
Yes. Seems to be an issue for users that updated to and posting from Windows 11? That seemed to be the issue discussed here.
Star Strider
on 15 Feb 2024
It seems not to be consistent. Thses plots seem appropriately-sized —
x = 0:0.01:5;
y1 = sin(2*pi*x);
y2 = cos(2*pi*x);
figure
plot(x, y1)
grid

figure
plot(x, [y1; y2; y1.*y2+randn(size(x))/10])
grid

the cyclist
on 15 Feb 2024
Edited: the cyclist
on 19 Feb 2024
Let's see ...
x = 0:0.01:5;
y1 = sin(2*pi*x);
y2 = cos(2*pi*x);
figure
plot(x, y1)
grid

Star Strider
on 15 Feb 2024
Strange.
My plots seem to be normal when I plot them, even when I look at the later, although your version of my first plot is definitely reduced.
Are you seeing my plots as normal or reduced?
Dyuman Joshi
on 15 Feb 2024
Edited: Dyuman Joshi
on 19 Feb 2024
@Star Strider, your plots seems normal to me on Windows 11 - Google Chrome (latest version). However, the plots by @the cyclist are small to me as well.
I have seen this behaviour earlier as well, but sparsely. I will link them here if I find any.
I will check this on my personal PC and update here when I get back home.
Edit - The behaviour is still the same (as mentioned above) on Windows 10 - Mozilla Firefox (latest version).
Paul
on 17 Feb 2024
Edited: Paul
on 17 Feb 2024
Something has definitely changed, and I'm not using Windows 11.
But in this very recent thread, the plot has shrunk. As reported by @William Rose and/or @Torsten, the plots in the recent thread looked normal when I was editing the post, but then got smaller afer I click submi (though not has much as suffered by others).
Walter Roberson
on 19 Feb 2024
My hypothesis is that it might have to do with which browser is being used by the person submitting the code.
the cyclist
on 19 Feb 2024
I use Chrome.
But I'll post this reply with generated figure from Safari.
x = 0:0.01:5;
y1 = sin(2*pi*x);
y2 = cos(2*pi*x);
figure
plot(x, y1)
grid

Image Analyst
on 19 Feb 2024
Is the relative size affected by the zoom level of the display you're using in the browser? What is your browser's zoom level?
Paul
on 19 Feb 2024
% Edge: Zoom 150%
x = 0:0.01:5;
y1 = sin(2*pi*x);
y2 = cos(2*pi*x);
figure
plot(x, y1)
grid

Paul
on 19 Feb 2024
% Edge: Zoom 100%
x = 0:0.01:5;
y1 = sin(2*pi*x);
y2 = cos(2*pi*x);
figure
plot(x, y1)
grid

Paul
on 19 Feb 2024
But my plot with 100% zoom is still not as big (nor as bright) as @Star Strider's plots in this comment.
Hmm, maybe Star had a zoom level less than 100%?
Paul
on 19 Feb 2024
% Edge: Zoom 75%
x = 0:0.01:5;
y1 = sin(2*pi*x);
y2 = cos(2*pi*x);
figure
plot(x, y1)
grid

Star Strider
on 19 Feb 2024
I get the same results as posted here in Firefox, DuckDuckGo, and Edge (the only browsers I currently have installed). The zoom levels are all between 80% - 100% in my various browsers, however the scale differences persist and are the same in each. For me, the plots in my earlier Comment are all larger than all the others, the others being diminished to about ½ the size (both width and height) with respect to mine.
I obviously have no idea what others are seeing, or if each person’s own plots are scaled differently for them than the others, as mine are for me.
I attacned an Edge screenshot. (it saved as .jpg, I didn’t see other available options or I’d have chosen .png.)
.
the cyclist
on 19 Feb 2024
Zoom level does affect it! Here, I have zoomed down to 50%
x = 0:0.01:5;
y1 = sin(2*pi*x);
y2 = cos(2*pi*x);
figure
plot(x, y1)
grid

Walter Roberson
on 19 Feb 2024
Firefox... I confirm that zooming down to 50% results in a larger final plot.
Rena Berman
on 21 Feb 2024
(Answers Dev) Thank you all for you help looking into this. I have forwarded a link to this thread to MW developers.
Answers (1)
See Also
Categories
Find more on Historical Contests 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!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)