when i use plot on the matlab online the figure doesn;t appear (windows)

55 ビュー (過去 30 日間)
amr radwan
amr radwan 2020 年 2 月 17 日
回答済み: Prasanna Gude 2020 年 3 月 3 日
when i use plot on the matlab online the figure doesn;t appear (windows)
  2 件のコメント
Rik
Rik 2020 年 2 月 17 日
If your tag describes your code I'm not surprised, as the step size is 0. What is the exact code you're trying to run?
amr radwan
amr radwan 2020 年 2 月 17 日
t=0:.000003:.003;
x=2*sin(2*pi*1000*t);
plot(t,x)
iuse this simple code many times
the figur appear in matlab online in some PC and appear in others!!!!

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

回答 (1 件)

Prasanna Gude
Prasanna Gude 2020 年 3 月 3 日
As of my understanding, the system in which you are using MATLAB Online does not have a screen depth of 16 or higher.
To work around this issue, set your screen depth to be at least 2^16 (65536) colors. This can be done on a Windows machine from the Display Properties dialog box-> Settings Tab->Color quality drop down box.

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by