Plotting the matrix graph

2 views (last 30 days)
Prabha Kumaresan
Prabha Kumaresan on 29 Nov 2017
Answered: Steven Lord on 29 Nov 2017
A=[1 2 3 4 5; 6 7 8 9 10; 11 12 13 14 15; 16 17 18 19 20]
can anybody tell me how to plot the matrix A.

Answers (1)

Steven Lord
Steven Lord on 29 Nov 2017
That depends on what you mean by plotting a matrix. I recommend looking at this documentation page for a picture that looks like what you want. Click on the word immediately above a picture to visit the documentation page for the function used to create that picture. [I suspect you probably want surf or maybe scatter3.]
That page does not list functions in products other than MATLAB, so if you have some toolboxes available and you want to see what functions those toolboxes provide to create specialized types of graphics, follow the instructions on this documentation page to see what other functions are available in the Plots tab in the Toolstrip.

Community Treasure Hunt

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

Start Hunting!