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 中查找有关 Lighting, Transparency, and Shading 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
