Hi I have the following script to plot a errorbar graph but my mean value and std for the date 460 are not displayed. Can someone tell me why?
%%Script für Graphic Produktion aus den Daten von Benis Masterthesis
clcclear%Data insert aus Thesis Seite 38-39
datalab303=[1.2E7 4.53E8 8.20E8, 3.70E8;7.15E6, 3.28E8, 4.80E8, 5.4E8];datalist303=[1.05E5, 3.95E4, 1.05E4, 1.25E3; 1.20E5, 9.05E4, 8.35E3, 2.60E3];datalab460=[5.55E6, 2.55E7, 45E7, 4E7;1.10E7, 2.5E6, 2.5E7, 1.3E7];datalist460=[1.30E5, 3.50E2, 1E2, 1E2;1.25E5, 4.60e3, 1E2, 1E2];time=[0 24 48 120];%Mittelwert berechnen
meanlab303=mean(datalab303);meanlab460=mean(datalab460);meanlist303=mean(datalist303);meanlist460=mean(datalist460);%Standartabweichung berechnen
stdlab303=std(datalab303);stdlab460=std(datalab460);stdlist303=std(datalist303);stdlist460=std(datalist460);figureerrorbar(time,meanlab303,stdlab303,'color','r')hold on;errorbar(time,meanlist303,stdlist303,'color','r')errorbar(time,meanlab460,stdlab460,'color','m')errorbar(time,meanlist460,stdlist460,'color','g')axis([-10 130 1E1 1E9]);set(gca,'yscale','log');
Best Answer