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

Answers (3)

opengl info
Version: '…'
Vendor: '…'
Renderer: '…'
MaxTextureSize: 16384
Visual: '…'
Software: '…'
HardwareSupportLevel: '…'
SupportsGraphicsSmoothing: 1
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 1
Extensions: {325×1 cell}
MaxFrameBufferSize: 16384
Hello,
I have the same problem, how did you solved it?
Thanks in advance

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Asked:

on 17 Feb 2017

Community Treasure Hunt

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

Start Hunting!