MATLAB not showing any plots
67 views (last 30 days)
Show older comments
Hello,
I am completely new to MATLAB. My problem is that no plots are showing up. Wenn I run code with the plot(x,y) function, then a window pops up, but its completely empty! This is not because of errors in my code, since even examples from MathWorks like the following code generate the same black screen:
x = 0:pi/100:2*pi;
y = sin(x);
gcf;
plot(x,y)
I have searched all over the internet for a solution and tried several solutions, none of which have worked. I would be greatful for help that is more specific to ma situation. I have a basic Matlab license on my university account (R2022a) and my OS is Linux, version: Ubuntu 20.04.4 LTS.
Many thanks in advance!
Best Regards,
D
2 Comments
Jan
on 11 May 2022
Do you have a fresh Matlab and installed all updates for the graphics hardware? Could a user defined function like "axes" shadow a builtin function?
Answers (1)
See Also
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!