could not get WebGL context error

7 views (last 30 days)
Ahmed raafat
Ahmed raafat on 17 Feb 2017
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)

Ahmed raafat
Ahmed raafat on 17 Feb 2017

Ahmed raafat
Ahmed raafat on 17 Feb 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 on 6 Jun 2017
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

Community Treasure Hunt

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

Start Hunting!