How to show 1e-10 in plot? my y axis range is 1e-10 to 0.1.
4 views (last 30 days)
Show older comments
I want to create a plot like below:

I try code blow:, but it doesn't work
y =[0.5, 0.1, 1e-2, 1e-3, 1e-4, 1e-5, 1e-6]
x = [0, 5, 5*2, 5*3, 5*4, 5*5, 5*6]
plot(x, y, 'rx', 'MarkerSize', 10); % Plot the data
ylim([1e-15,1])
ylabel('variance'); % Set the y−axis label
xlabel('iteration');
the plot like this:

0 Comments
Answers (1)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!