The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: how to define x and y axis ranges?
Replies: 1   Last Post: Feb 10, 2013 6:58 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  

Posts: 9,850
Registered: 6/7/07
Re: how to define x and y axis ranges?
Posted: Feb 10, 2013 6:58 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 2/10/2013 5:07 PM, lala wrote:
> Her im trying to have my x-axis or "a-axis" defined from 0 to 90, ith 15
> unit interval. My y-axis or "r" is also defined as from 0 to 22, with
> intervals of one unit. Then i have some points that i want to show in


>> r=[21 18 17 21 11]; %reading
>> a=[0 30 45 60 90]; %angle
>> plot(a,r,'bs--')
>> set(gca,'xtick',[0:15:90])
>> ylim([0 22])
>> set(gca,'ytick',[0:22])

I suspect the unit tick marks on the y-axis will be too busy, but using
a smaller font may make them bearable...


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.