"Ray" <RayMitchell@MeanOldTeacher.com> wrote in message news:firstname.lastname@example.org... > "Bruno Luong" <email@example.com> wrote in message > <firstname.lastname@example.org>... >> "Ray" <RayMitchell@MeanOldTeacher.com> wrote in message >> > >> > Thanks for the response. That does fix the issue in my question 2, but >> > the issue in question 1 still exists. >> >> Use axis() command to fix the range you want the plot appears. >> >> Bruno > > Bruno, > > As shown in my sample code I have used axis([0, 40, 0, 200]) to provide > the desired range of the axes and I have limited the values that will > actually be used on the x axis by doing n = 0:1:40; However, for the last > two cases that I am plotting the value of y will be much greater than 200, > thereby causing the y axis to be greatly compressed in order to display > these large values. Is there a way to tell it not to display any y values > greater than a certain value?
Call AXIS _after_ plotting to force the limits to be what you want.