NEW ANSWER
Somehow, setting to opengl renderer after Matlab starts causes an issue. I could replicate the bug if I do opengl software first, and then trying to plot. Switching the renderer to painters restores the dots.:
opengl software
Gx = figure;
x=0:1:100;
y=x.^2;
plot(x,y,'.')
set(Gx, 'renderer', 'painters');
Looks like setting renderer to opengl could cause that issue. To fix, you could just set default renderer to painters via:
set(0, 'defaultFigureRenderer', 'painters')
OLD ANSWER (for the figure not showing at all)
My attempt to answer this vague problem is - one computer has set the default figure visibility to off, hence it plots but does not show anything.
To check this:
get(0, 'DefaultFigureVisible')
To fix this:
set(0, 'DefaultFigureVisible', 'on')
close all
Best Answer