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

2 ビュー (過去 30 日間)
xX_MatlabMaster_Xx
xX_MatlabMaster_Xx 2018 年 4 月 8 日
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 Center および File ExchangeDevelop 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