Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


dpb
Posts:
8,879
Registered:
6/7/07


Re: how to define x and y axis ranges?
Posted:
Feb 10, 2013 6:58 PM


On 2/10/2013 5:07 PM, lala wrote: > Her im trying to have my xaxis or "aaxis" defined from 0 to 90, ith 15 > unit interval. My yaxis 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 yaxis will be too busy, but using a smaller font may make them bearable...




