Live editor tiny plots

12 ビュー (過去 30 日間)
Jeffrey
Jeffrey 2020 年 1 月 19 日
回答済み: Abraham Roseman 2022 年 2 月 15 日
Hi,
While using live editor I have returned to find that when I rerun sections of the file the plot and stem functions output tiny, unusable, plots. These can be viewed in another window full size, but I would like them to show up as they have previously with a normal size. It seems I must have disrupted a default setting, but I cant figure out what.
The plots essentally appear as a horizontal line, which can be opended as a full plot in another view.
here is one of several instances where the output stem plot is unreasonably tiny. If I run this on the command window it is not a problem.
M=5;
n=-30:M:30; % sampling at integer value M
x=cos(0.1*pi().*n);
stem(n,x,'fill');xlabel('n');ylabel('sinusoid x[n] downsampled at M');
hold off
Please help.

回答 (4 件)

Nishant Gupta
Nishant Gupta 2020 年 1 月 22 日
編集済み: Nishant Gupta 2020 年 1 月 22 日
Hi,
I am assuming you are using R2019b version and tried to reproduce the issue in R2019a as well as R2019b using the code given but the output plot is normal only.

Jeffrey
Jeffrey 2020 年 1 月 22 日
It's pretty strange. All I need to do is close out and reopen MATLAB. It's happened about 4 times over the past 3 days.
Thanks for looking.

Mung Suan Pau DUHLIAN
Mung Suan Pau DUHLIAN 2021 年 12 月 12 日
編集済み: Mung Suan Pau DUHLIAN 2021 年 12 月 12 日
I have a similar issue both using R202b and R2021b. It appears to shrik both the font size as well as the figure when using the live script editor. I would greatly appreciatet if there is a way to resolve this issue. Please see the attached.

Abraham Roseman
Abraham Roseman 2022 年 2 月 15 日
If you are on mac, you can use CMD scroll and it should fix. There is probably a similar command on windows.

カテゴリ

Help Center および File ExchangeGraphics Objects についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by