Why is matlab printing all number of digit.
Mostra commenti meno recenti
Please why matlab displaying all the number of digits on the y axis. See the attached figure, the code below produces the fiugre:
plot(xi, yinterceptr(:,1), 'r -*', LineWidth=1)
xlabel('activity, $\xi$','Interpreter','latex');
ylabel('$z$-intercept',' Interpreter','latex');
Risposta accettata
Più risposte (1)
"why [is] matlab displaying all the number of digits on the y axis[?]"
Because the range of the y-limits is very small, about 3e-19.
openfig('fig1.fig');
diff(ylim())
If you want, you can set the y-limits to have a larger range, e.g.:
openfig('fig1.fig');
dy = 1e-8;
ylim(-1e-6+dy*[-1 1])
1 Commento
University
il 7 Feb 2024
Categorie
Scopri di più su Line Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


