필터 지우기
필터 지우기

How to plot such a graph

조회 수: 2 (최근 30일)
E R SH RAJ Male
E R SH RAJ Male 2016년 11월 19일
답변: Chinmayi Lanka 2016년 11월 22일
I want to plot 4 types of data as shown in the figure below. Can anyone help me?
I can plot % contribution, distance, and magnitude, but epsilon, as shown in a different color, is the 4th variable that I want to plot.
  댓글 수: 4
dpb
dpb 2016년 11월 19일
편집: dpb 2016년 11월 20일
Ah...I see it now; it is the parameter in the color coding legend in the LL of the figure.
In theory it's simply group the variables by the correlating variable value and use bar3 with those columns except--the Matlab bar3 is feeble and won't accept arbitrary x,y positions for the Z height; it only has x and each column is unalterably at 1:N locations on the other axis.
There may be a useful contribution at the File Exchange I don't know; I'd guess it's likely, but it's astounded me that in 30 years TMW hasn't yet addressed the limitation.
Well, let's see what a search finds...ok, the following looks like should likely be able to do something useful... <3d colored bar plot>.
ADDENDUM Attach us a sample result when give it a go...be curious how well can do. NB: AFAIK, there's no simple way in Matlab HG to create the face colors only as in the sample...then again, there's almost no "simple" way to do anything out of the ordinary w/ surfaces and patches in modifying colors when get beyond the default behaviors.
E R SH RAJ Male
E R SH RAJ Male 2016년 11월 21일
Thanks.Please see i have following type of data... I am not able to upload excel file. Issue is i can plot % contribution ,magnitude and distance ,but unable to plot epsilon .. i used bar3

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

답변 (1개)

Chinmayi Lanka
Chinmayi Lanka 2016년 11월 22일

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by