3dbar chart of columns of data

1 Ansicht (letzte 30 Tage)
Benjamin Cowen
Benjamin Cowen am 16 Dez. 2016
Kommentiert: Star Strider am 16 Dez. 2016
I have my x values stored under x, which is a single column with 400 rows.
Then my y is 6 columns of 400 rows
How can I get 6 bars corresponding to each row, but 3d style so they do not overlap one another?

Antworten (1)

Star Strider
Star Strider am 16 Dez. 2016
Use the bar3 function.
  5 Kommentare
Benjamin Cowen
Benjamin Cowen am 16 Dez. 2016
i attached matlab figure, hopefully you can see what I am talking about
Star Strider
Star Strider am 16 Dez. 2016
Try adding these lines after you plot the figure:
axis square
view([135 20])
Experiment with the view arguments to get the result you want.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by