Here's the complete example code:
Depending on your data type, you can use several specialized functions: Scatter Plot Matrix ( plotmatrix : Creates a grid of subaxes. If plotmatrix(X, Y) produces an matrix of scatter plots to visualize correlations. 3D Surface Plot ( xnxn matrix matlab plot pdf download free
That was easy. Then came the plot.
N = 20; A = rand(N) .* (1:20); % row-weighted matrix Here's the complete example code: Depending on your
figure; contourf(A, 20); % 20 contour levels colormap(viridis); colorbar; title('Filled Contour Plot'); A = rand(N) .* (1:20)