How can I include a 3D plot in my App (App-designer)?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!