how to show max min mean std in GUI

13 views (last 30 days)
how to create pushbutton2 to show max, min, std, mean graphic in GUI. and graph create by pushbutton1
  4 Comments
Soni huu
Soni huu on 27 Jan 2013
max(daily_rain) %to show max data
then how to show line max data in graph..

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 27 Jan 2013
In the callback for pushbutton1, put this:
maxValue = max(daily_rain);
minValue = min(daily_rain);
stdDev = std(daily_rain);
bar([minValue, maxValue, stdDev]); % Display in bar chart.
If that's not what you want, then say what you want. You haven't so far.
  3 Comments
Soni huu
Soni huu on 28 Jan 2013
sorry.... yMin no need... :)
thanks

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!