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!
