Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Limiting output range; computing n log2 n
Replies: 6   Last Post: Feb 18, 2013 7:35 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 11
Registered: 7/6/08
Re: Limiting output range; computing n log2 n
Posted: Feb 18, 2013 7:35 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Steven_Lord" <slord@mathworks.com> wrote in message <kfs6jh$kv2$1@newscl01ah.mathworks.com>...
> "Ray" <RayMitchell@MeanOldTeacher.com> wrote in message
> news:kfrofe$7k6$1@newscl01ah.mathworks.com...

> > "Bruno Luong" <b.luong@fogale.findmycountry> wrote in message
> > <kfr5c6$7pe$1@newscl01ah.mathworks.com>...

> >> "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.
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com

That did the trick! Thanks for your help!

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.