Why is my plot figure blank?
Mostrar comentarios más antiguos
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 comentarios
Daniel M
el 30 de Oct. de 2019
That is strange. What is the output when you type
whos pt
which plot -all
which rand -all
Bel Cho
el 30 de Oct. de 2019
Walter Roberson
el 30 de Oct. de 2019
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
el 30 de Oct. de 2019
Also check the default line properties:
sandhya sandhya
el 30 de Oct. de 2019
With MATLAB R2017b I got output
pt = rand(2,5000);
plot(pt(1,:),pt(2,:),'bx');
Bel Cho
el 30 de Oct. de 2019
Daniel M
el 30 de Oct. de 2019
Always sounds silly to suggest, but have you tried closing MATLAB and starting a new session?
Walter Roberson
el 30 de Oct. de 2019
You are using parallels virtual machine under a host operating system. What host are you using?
Bel Cho
el 30 de Oct. de 2019
I have heard of a lot of issues with Catalina recently. You can report bugs here
Walter Roberson
el 30 de Oct. de 2019
Yes, there is good reason to be suspicious of graphics in Catalina at present.
Bel Cho
el 30 de Oct. de 2019
Walter Roberson
el 21 de Abr. de 2023
Are you using Parallels Virtual Machine on MacOS to run MATLAB ? If so then which version of MacOS is your host?
Respuestas (0)
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
