could not get WebGL context error

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???

2 commentaires

That are the results of
>> ww = matlab.internal.webwindow('http://webglreport.com');
>> ww.show();

Connectez-vous pour commenter.

Réponses (3)

Ahmed raafat
Ahmed raafat le 17 Fév 2017
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
Guillaume Le Bars le 6 Juin 2017

0 votes

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

Catégories

En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by