standard deviation and mean

조회 수: 469 (최근 30일)
Fire
Fire 2011년 6월 28일
답변: Shreedhar Todkar 2016년 7월 8일
Hello everybody,
I have 36 values of mean and their standard deviation. 12 values falls between 38 to 45, another 12 values falls between 53 to 60 and another 12 values fall between70 to 75. I just want to show in a graph clearly the mean values and their standard deviation. I tried so many but none of them are really clear bcoz, I have values like 43.77, 43.10, 43.5... some close values.. how can I do that.. help me
  댓글 수: 1
Krishna Kumar
Krishna Kumar 2011년 6월 28일
What way do you want the plot to be. Can you elaborate?

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

채택된 답변

Oleg Komarov
Oleg Komarov 2011년 6월 28일
You can use errorbar:
% The data
Y = [rand(12,1)*7 + 35; rand(12,1)*7 + 53; rand(12,1)*5 + 70];
% The standard deviations
E = rand(36,1)*10 + 3;
% Mean values with error bars
errorbar(Y,E,'x')
  댓글 수: 1
Fire
Fire 2011년 6월 30일
I already this, boxplot also plays good role but finally decided to go ahead with Errorbar.. so I accept your answer, since I used the error plot for my values.. Thank you

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

추가 답변 (4개)

Stuart Layton
Stuart Layton 2011년 6월 28일
boxplot, barplot with error bars, you can plot a histogram of the values, there are lot of ways to plot the data. Which plot type is best is usually a function of the type of data you are plotting

Sean de Wolski
Sean de Wolski 2011년 6월 28일
  댓글 수: 2
Fire
Fire 2011년 6월 28일
com'on i know the plot. plz read the question once agian, I asked you in what way i can show it clearly
Sean de Wolski
Sean de Wolski 2011년 6월 28일
"I just want to show a graph."
How can plot not show the graph? Please be more specific with what you want. You kind of gave us sample data and said you wanted to plot it. We don't know anything else. Perhaps find a picture on google images that shows it or something to help us along.

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


Krishna Kumar
Krishna Kumar 2011년 6월 28일
If you are plotting close values and if the plot's not clear , try change the axes limits so that the variation is clearer

Shreedhar Todkar
Shreedhar Todkar 2016년 7월 8일
help boxplot

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by