Height-parameter contour plot along a distance

1 view (last 30 days)
I have 2000 base distance and 13 elevations,
thus a height matrix A of dimension 2000*13 and corresponding parameter matrix V of dimension 2000*13
I want to plot height : y axis
base distance 2000 points : x axis
parameter V in color.
Thanks in advance.
(X,Y)=meshgrid( 1:13,1:2000);
contourf(X,Y,V)
Gives 2000 pts along x axis, and "13" along y axis. But, I need height as specified in matrix A not the elevations 13.

Answers (0)

Categories

Find more on Contour Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!