How can I include a 3D plot in my App (App-designer)?

2 次查看(过去 30 天)
So this is the code:
[x, t, u] = shuttle(filename, tmax, nt, xmax, nx, method);
surf(app.ThreeDPlot, x, t, u);
%Set Axes properties
shading(app.ThreeDPlot, 'interp');
view(app.ThreeDPlot,150,30)
app.ThreeDPlot.Title.String = 'Internal Temperature';
app.ThreeDPlot.Title.FontSize= 14;
app.ThreeDPlot.XLabel.String = 'Displacement (m)';
app.ThreeDPlot.XLabel.FontSize = 12;
app.ThreeDPlot.YLabel.String = 'Time (s)';
app.ThreeDPlot.YLabel.FontSize = 12;
app.ThreeDPlot.ZLabel.String = 'Temperature (ºC)';
app.ThreeDPlot.ZLabel.FontSize = 12;
rotate3d(app.ThreeDPlot, 'on');
pan(app.ThreeDPlot, 'on');
Using Matlab R2016b this gives the warning ( Functionality not supported with UIAxes. For more information, see Graphics Support in App Designer. ).
surf(app.ThreeDPlot, x, t, u);
rotate3d(app.ThreeDPlot, 'on');
pan(app.ThreeDPlot, 'on');
How can I solve this? Many many thanks in advance,
Ricardo

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by