How to change value of axis using matrix to plot 3-D surface
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Joyce Taylor
il 8 Mag 2016
Risposto: Walter Roberson
il 8 Mag 2016
using surf(),X-axis and Y-axis are index of element in matrix-test(a,b)
I want to set axis as X=1-a/10,Y=3+b/4.
an simplified example:
test=[3 4 5;3 5 6;7 4 5];
surf(test)
0 Commenti
Risposta accettata
Walter Roberson
il 8 Mag 2016
You can pass x and y values as the first two parameters of surf()
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Surface and Mesh Plots 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!