Make a plot using value from a certain line of matrix
Ältere Kommentare anzeigen
Suppose I have a matrix of dimension 10x10. Now I want to use the value along the column 5 as Y axis, and use the index of rows to represent x increment, how can I make a plot like that in Matlab? And at the same time, when I do the contour plot of a matrix, is it a way to indicate the highest and lowest value in the contour plot?
Akzeptierte Antwort
Weitere Antworten (1)
dpb
am 8 Okt. 2016
0 Stimmen
- plot(Y(:,5))
- clabel(C,h,[v(1) v(end)])
Kategorien
Mehr zu Contour Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!