Why is my plot figure blank?
이전 댓글 표시
My plot figure appears to be blank after running this on my laptop:
pt = rand(2,5000);
plot(pt(1,:),pt(2,:),'bx');
All I see is a blank space on my plot and the axes are visible. However, when I run this on a different computer the data points are visible (indicated by blue Xs). The same version of Matlab is being used on both machines (R2019a).
MATLAB Version: 9.6.0.1214997 (R2019a) Update 6
Any idea of what the problem could be?
Thanks
댓글 수: 14
Daniel M
2019년 10월 30일
That is strange. What is the output when you type
whos pt
which plot -all
which rand -all
Bel Cho
2019년 10월 30일
Walter Roberson
2019년 10월 30일
Use
opengl info
to check to see which graphics card matlab is using and what driver version. Make sure you are up to date on the driver version.
Stephen23
2019년 10월 30일
Also check the default line properties:
sandhya sandhya
2019년 10월 30일
With MATLAB R2017b I got output
pt = rand(2,5000);
plot(pt(1,:),pt(2,:),'bx');
Bel Cho
2019년 10월 30일
Daniel M
2019년 10월 30일
Always sounds silly to suggest, but have you tried closing MATLAB and starting a new session?
Walter Roberson
2019년 10월 30일
You are using parallels virtual machine under a host operating system. What host are you using?
Bel Cho
2019년 10월 30일
I have heard of a lot of issues with Catalina recently. You can report bugs here
Walter Roberson
2019년 10월 30일
Yes, there is good reason to be suspicious of graphics in Catalina at present.
Bel Cho
2019년 10월 30일
Walter Roberson
2023년 4월 21일
Are you using Parallels Virtual Machine on MacOS to run MATLAB ? If so then which version of MacOS is your host?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
