My professor taught us to always use the Matlab command axis equal
for our simulation data plots - for all of our homework assignments.
However, in studying the SIR infectious disease model, I'm studying a scaled version, so instead of using population counts I am more conveniently using fractions of populations, so that my vertical y-axis ranges simply from 0 to 1, while the x-axis is for the time domain. Using this approach, and the command axis equal
, my data plots look like almost flat lines. When I remove the axis equal
command, the solution curves look much closer to the ones given in the news reports, YouTube videos, etc.
My question is: Should I always be using axis equal
? And if so, how do I fix my plots so that they look like what we expect to see?