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
Sam Chak 2023년 11월 20일
This is strange. Can you attach some images by clicking on this icon ?
Here's what plot displays in the browser:

댓글을 달려면 로그인하십시오.

답변 (1개)

Angelo Yeo
Angelo Yeo 2023년 11월 20일

0 개 추천

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

?!?
I'm going to have to remember this and investigate the implications later.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Line Plots에 대해 자세히 알아보기

질문:

2023년 11월 20일

댓글:

2023년 11월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by