Plotting problem in MATLAB ONLINE

조회 수: 7 (최근 30일)
PChoppala
PChoppala 2025년 5월 15일
댓글: PChoppala 2025년 5월 15일
I am getting the following error while plotting. Even as simple as figure, plot(1:10)
Warning: An error occurred while drawing the scene: Error in scene tree: Could not create peer object for PrimitiveContainer: TypeError: n.subclassProperties.reduce is not a function. (In 'n.subclassProperties.reduce((a,u)=>(a[u]=n[u],a),{})', 'n.subclassProperties.reduce' is undefined)
Warning: An error occurred while drawing the scene: Error in web pick traversal: TypeError: a[d].match is not a function. (In 'a[d].match(u)', 'a[d].match' is undefined)
Leads on how to get over this are appreciated.
  댓글 수: 2
Steven Lord
Steven Lord 2025년 5월 15일
Can you confirm that you haven't written your own plot.m file that's taking precedence over the plot function that is part of MATLAB? What does this command show?
which -all plot(1:10)
built-in (/MATLAB/toolbox/matlab/graphics/graphics/graph2d/plot)
PChoppala
PChoppala 2025년 5월 15일
Nope, no plot.m file anywhere on my drive.

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

답변 (1개)

Vinod
Vinod 2025년 5월 15일
Can you log out, log back in and try it out?
  댓글 수: 2
PChoppala
PChoppala 2025년 5월 15일
Tried it several times.
PChoppala
PChoppala 2025년 5월 15일
Aatually, I logged in now and it works. Perhaps some issue.

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

카테고리

Help CenterFile Exchange에서 Specifying Target for Graphics Output에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by