I want to plot a graph in MATLAB with $x$- axis data varies from $1$ to $15$, where as $y$-axis data varies over order from $10^0$ to $10^{-1009}$. Using 'semilog' or 'set axis I am not able to plot graph for $y$-axis data having order lower that $10^{-150}$. I am getting following error
Error using set
Bad property value found.
Object Name : axes
Property Name : 'YLim'
Values must be increasing and non-NaN.
Here is my MATLAB code
count = 1:15;
subplot(2, 2, 1)
SAcE = [0.2548 0.18759 0.075788 0.0050042 1.4406e-6 3.437e-17 4.6674e-49 1.1689e-144 7.4999e-358 1.5437e-784 3.9277e-1009 5.0621e-1009 3.6067e-1009 5.0621e-1009 3.6067e-1009];
semilogy(count,SAcE, '-b*','LineWidth',1.0, 'MarkerSize',5, 'MarkerEdgeColor','b')
axis([1 15 1 10^(-1009) ])
Thank you for the help.
7.4999e-358is less than the smallest double precision floating point value greater than zero that can be represented,eps(realmin)(about4.9407-324). @mikkola solution is a good workaround. – horchler Nov 06 '15 at 15:32