How do I make shaded error bar area instead of lines?
I have data as a neuronal response function listed as my first line of code which is the curve I get. I am trying to add shaded error bars that look similar to this:
My code is:
load(‘0_RF_PSD95-3_20111121-3.CNG.swc_Trials_120_length_2000_p_0.995_a_0.8_beta_0.6.mat’)
SDdiff = std(diff(sort(Fsoma)));
figure; errorbar(h(2:end), diff(mean(Fsoma/500)), …
SDdiff(2:end)/500);
set(gca, ‘XScale’, ‘log’)
and my current figure/output is:
Does anyone know how to help me achieve something similar to the first figure? Thank you in advance.I have data as a neuronal response function listed as my first line of code which is the curve I get. I am trying to add shaded error bars that look similar to this:
My code is:
load(‘0_RF_PSD95-3_20111121-3.CNG.swc_Trials_120_length_2000_p_0.995_a_0.8_beta_0.6.mat’)
SDdiff = std(diff(sort(Fsoma)));
figure; errorbar(h(2:end), diff(mean(Fsoma/500)), …
SDdiff(2:end)/500);
set(gca, ‘XScale’, ‘log’)
and my current figure/output is:
Does anyone know how to help me achieve something similar to the first figure? Thank you in advance. I have data as a neuronal response function listed as my first line of code which is the curve I get. I am trying to add shaded error bars that look similar to this:
My code is:
load(‘0_RF_PSD95-3_20111121-3.CNG.swc_Trials_120_length_2000_p_0.995_a_0.8_beta_0.6.mat’)
SDdiff = std(diff(sort(Fsoma)));
figure; errorbar(h(2:end), diff(mean(Fsoma/500)), …
SDdiff(2:end)/500);
set(gca, ‘XScale’, ‘log’)
and my current figure/output is:
Does anyone know how to help me achieve something similar to the first figure? Thank you in advance. shadederrorbar, errorbar MATLAB Answers — New Questions