Converting 3D plot into surface like plot.
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi everyone ! I have a data on Total Number of Aircraft in each Hour in the Month of January. I have already plot the 3D plot using plot3 function (X axis = Day , Y axis = Hour, Z axis = Number of Aircraft) but now I want to convert it to surface like plot. Is it possible? anyone know how? Hope anyone could help :D thank you.
The image above is my data table.
The image above is my plot3 code.
The image above is the plot. See that, by convert it into surface, I can better understand the trend.
0 commentaires
Réponses (1)
madhan ravi
le 11 Juil 2020
[DAY, HOUR] = meshgrid(Day, Hour);
NUMAIRCRAFT = repmat(numAircraft, 1,numel(Day));
surf(DAY, HOUR, NUMAIRCRAFT)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!