MATLAB: How to change the number range from origin to edge in polar plot

MATLABplotplotting

Hey everyone, While I'm solving my assignment I faced a problem:
Required Figure:
My Figure:
I believe everything is identical (the colors does not matter) but the problem is the distance from the origin to the edge, mine ends at 7 and the required output ends at 8, how can I change it?
Your help would be greatly appreciated.

Best Answer

You can use either of these two:
set(gca,'RLim',[0 9])
rlim([0 9])
(You can get hints about where to look by using get(gca) or get(gcf), as those will give you most properties that are editable.)