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

53 views (last 30 days)
when i use plot on the matlab online the figure doesn;t appear (windows)
  2 Comments
Rik
Rik on 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 on 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!!!!

Sign in to comment.

Answers (1)

Prasanna Gude
Prasanna Gude on 3 Mar 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.

Categories

Find more on Interactive Control and Callbacks 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!