Info

This question is closed. Reopen it to edit or answer.

Create a 3 D bar plot for the following matrix?

1 view (last 30 days)
Traian Preda
Traian Preda on 5 Mar 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi, I have the following matrix Z in attach and I want to create a 3D bar plot for the values of the Z axis. And then display the legend for this z axis. Any ideas? Thanks
Z=[0.370000000000000 0 0 0 0 0 0 0 0 0 0 0 0;0 0.370000000000000 0 0 0 0 0 0 0 0 0 0 0;0 0 0.370000000000000 0 0 0 0.0467162398645921 0 0 0 0 0 0;0 0 0 0.370000000000000 0.369977701478544 0.366540907538642 0.195398920813578 0 0 0 0 0 0;0 0 0 0.369977701478544 0.370000000000000 0.367062346779861 0.199051043796721 0 0 0 0 0 0;0 0 0 0.366540907538642 0.367062346779861 0.370000000000000 0.238879975053344 0.0304411774283160 0.0264392877170404 0.00837439790423222 0.00605442419179780 0 0;0 0 0.0467162398645921 0.195398920813578 0.199051043796721 0.238879975053344 0.370000000000000 0.266305290294915 0.264323625545948 0.257749780728987 0.258491690770701 0 0.0703750282700106;0 0 0 0 0 0.0304411774283160 0.266305290294915 0.370000000000000 0.369980796329611 0.369438899362702 0.369187691295506 0 0.277052854549265;0 0 0 0 0 0.0264392877170404 0.264323625545948 0.369980796329611 0.370000000000000 0.369602427347931 0.369350181218513 0 0.279306594270981;0 0 0 0 0 0.00837439790423222 0.257749780728987 0.369438899362702 0.369602427347931 0.370000000000000 0.369930457042556 0 0.286142472530047;0 0 0 0 0 0.00605442419179780 0.258491690770701 0.369187691295506 0.369350181218513 0.369930457042556 0.370000000000000 0 0.284741896675293;0 0 0 0 0 0 0 0 0 0 0 0.370000000000000 0;0 0 0 0 0 0 0.0703750282700106 0.277052854549265 0.279306594270981 0.286142472530047 0.284741896675293 0 0.370000000000000;]

Answers (0)

Community Treasure Hunt

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

Start Hunting!