could not get WebGL context error

1 次查看(过去 30 天)
Hello Everyone
I ran an example code given at UIAxes plot on Ubuntu 16.04 glnxa64
fig = uifigure;
ax = uiaxes(fig);
x = linspace(-pi,pi,50);
y = 5*sin(x);
plot(ax,x,y)
but the result is error Java Script as shown
How to fix it and If I tried on Windows will it be solved???

回答(3 个)

Ahmed raafat
Ahmed raafat 2017-2-17

Ahmed raafat
Ahmed raafat 2017-2-17
opengl info
Version: '…'
Vendor: '…'
Renderer: '…'
MaxTextureSize: 16384
Visual: '…'
Software: '…'
HardwareSupportLevel: '…'
SupportsGraphicsSmoothing: 1
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 1
Extensions: {325×1 cell}
MaxFrameBufferSize: 16384

Guillaume Le Bars
Hello,
I have the same problem, how did you solved it?
Thanks in advance

类别

Help CenterFile Exchange 中查找有关 Develop uifigure-Based Apps 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by