cannot plot (Warning: The Position specified is invalid)

3 ビュー (過去 30 日間)
DIA Matlab License manager
DIA Matlab License manager 2018 年 10 月 9 日
回答済み: Qi Zheng 2021 年 2 月 13 日
Suddenly, I'm no longer able to plot, or create figures. When I issue one of the following commands
hold on
or
figure
or
plot(1,1) % just to plot a point
I get the following warning:
Warning: The Position specified is invalid
a figure window is then created, as in the figure, but no plots are created in it.
  11 件のコメント
Alessandro Cuttin
Alessandro Cuttin 2018 年 10 月 9 日
In response to @Jan
>> dbstop if warning
>> hold on
Warning: The Position specified is invalid
> In hold (line 37)
Warning from hold (line 37)
ax = gca;
K>>
Rafaelles
Rafaelles 2019 年 1 月 4 日
編集済み: Rafaelles 2019 年 1 月 4 日
I got the exactly same error and displayed messages as Alessandro today after installing Matlab r2018a in Fedora 29 os. Is there any solution or idea of what it might be happening?
EDIT: Actually it is a Virtual Machine, installing Matlab in Fedora has always several surprises, so I test in a VM before any change in my personal OS. I'm actually thinking about upgrading from Fedora 28 to 29, so I carried out this test and got the same issue as Alessadro. In my real machine with Fedora 28, Matlab works just fine.

サインインしてコメントする。

回答 (2 件)

Mathieu
Mathieu 2020 年 12 月 11 日
I had the same issue, and rebooting my machine fixed the problem.

Qi Zheng
Qi Zheng 2021 年 2 月 13 日
I got the some problem. Could anyone give me a help please? I have been struggling with it for a week.

カテゴリ

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

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by