Hi Saugat,
You can check KSSV's answer to a similar query here : https://www.mathworks.com/matlabcentral/answers/369399-removing-the-grey-margin-of-a-plot
It worked for me, hope it helps you too. Thanks.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!