I would like to plot x and y data with errors, ebar and its fit, yfitted , on a semi-log chart. This does not work:
figure; hold on; errorbar(x,y,ebar); semilogy(x,yfitted);
Instead of a semi-log graph, a linear graph is obtained. What should I do differently?
math matlab plot graphing
AndyL
source share