MATLAB: Saving .fig files as a .pdf file

figure

Hello,
I am using Matlab 2016a on Mac. So far I have been exporting .fig files as eps to use them in a LaTeX document and I never had any issues. But this time I need to use the .fig files in a Word document. For that, I need to save/export them as .pdf files. So I tried saving them and exporting them as .pdf files but when I opened the pdf file, the figure is cropped. It doesn't show the axes at all.I have attached a screenshot of the pdf file. Any help would be appreciated.
Related Question