Issues with surface plotting using a large table of data
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kyle Watkins
le 29 Nov 2023
Réponse apportée : Walter Roberson
le 29 Nov 2023
I have a table of scanned data that I am trying o plot using a mesh or surf plot and I am running into the issue of the dimensions of my vectors and matricies not agreeing and I am unsure what to do. I have a table that is 12x54 and two other vectors that are 12x1 and 54x1. What should I do to make them agree and to ge the plot?
0 commentaires
Réponse acceptée
Walter Roberson
le 29 Nov 2023
surf(vector_of_length_54, vector_of_length_12, Your_12_by_54_data)
Remember that horizontal (rows) corresponds to Y axes, and vertical (columns) corresponds to X axes.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Surface and Mesh 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!