MATLAB: How to show max min mean std in GUI

graphgraphicsguiguidehandle graphicsmatlab gui

how to create pushbutton2 to show max, min, std, mean graphic in GUI. and graph create by pushbutton1

Best Answer

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.