MATLAB: How to increase the precision of the y axis

axisMATLABplotprecision

Hi,
I've got the following plots and I want to increase the precision on the Y-axis. I want to see more values on the axis. Thanks!
Vi=A.*sin(2.*pi.*f.*t);
axes(handles.axes1);
plot(t,Vi,'color','red','LineWidth',2);
grid on;
title('Input signal [Vi]','Fontsize',15);
xlabel('time [ms]');
ylabel('Amplitude [V]');
Untitled.png

Best Answer

yticks(-5:5)
Related Question