semilog plots with hold on
Date: 2023-03-17 14:32:30
If I try to plot multiple plots with a logarithmic axis, the log scale is disabled. If I remove the hold on
the log scale is enabled, but I can only plot a single plot.
figure(1); clf
x = linspace(0,1,100);
y = exp(-x);
hold on;
semilogy(x, y);
semilogy(x, 2*y);
hold off;
Why?, How can I create multiple log scale plots?