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

31 Ansichten (letzte 30 Tage)
amr radwan
amr radwan am 17 Feb. 2020
Beantwortet: Prasanna Gude am 3 Mär. 2020
when i use plot on the matlab online the figure doesn;t appear (windows)
  2 Kommentare
Rik
Rik am 17 Feb. 2020
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 am 17 Feb. 2020
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!!!!

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Prasanna Gude
Prasanna Gude am 3 Mär. 2020
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.

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by