필터 지우기
필터 지우기

Change appearance of 3d graph

조회 수: 3 (최근 30일)
Cliff Karlsson
Cliff Karlsson 2018년 9월 16일
댓글: Cliff Karlsson 2018년 9월 16일
I have created a graph whith the following code:
clear
KPI = [ 3809 3902 3986 4063 4078 4097 4153 4243]
Inkomst = [274.6 266.4 266.2 270.4 280.9 291.9 306.8 323.2]
years = {"År 2000", "År 2001", "År 2002", "År 2003", "År 2004", "År 2005", "År 2006", "År 2007"}
bar3([KPI',Inkomst'],0.8)
xticklabels({ 'KPI','Inkomst'})
yticklabels(years)
zlim([0 5000])
title({'Inkomst/KPI;';'2000-2007'})
view(55,45);
But I would like to have it look more like this:
Instead of my current look:
How do I widen the actual bars, add the spacing, alter the height of the figure and remove the "margin" so that the bars start of directly to the left?
  댓글 수: 1
Cliff Karlsson
Cliff Karlsson 2018년 9월 16일
also is there some better way to get the same rotation without using "view(55,45);"

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by