Plot function not working on Chromebook
显示 更早的评论
x=1:10;
y=x.^2;
plot (x,y);
The above works as expected when running MATLAB Online from Chrome browser on Windows, but the plotted line does not show properly (start and end of line is visible, but not visible at intermediate points) when running on a Chromebook. I tried three different Chromebooks, same result on all.
2 个评论
Sam Chak
2023-11-20
This is strange. Can you attach some images by clicking on this icon
?
Sheldon Walklin
2023-11-21
回答(1 个)
Angelo Yeo
2023-11-20
Would you let MATLAB Online use legacy graphics instead of WebGL graphics? To do this, set the "PaperOrientation" property of the figures to "LandScape":
f=figure(1);
f.PaperOrientation = 'LandScape';
fplot(@(x)sin(x));
1 个评论
Walter Roberson
2023-11-20
?!?
I'm going to have to remember this and investigate the implications later.
类别
在 帮助中心 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
