- Using 'saveas' - saveas(gcf, 'myplot.pdf');
- Using 'print' function - print('myplot','-dpdf')
- Export to PDF: You can export the graph to a PDF file using the "Export" option in the "File" menu of the figure window. Choose "Export Setup" and then select "PDF" as the file format
graph is not saving properly in .pdf format, I am using 2018b
2 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1338674/image.jpeg)
0 Comments
Accepted Answer
Pratheek
on 31 Mar 2023
Hi Retish,
you can save a graph in many ways using matlab, here are a few
I can see that you have already exported your graph into a pdf format, to help you with the particular issue what you are facing here, provide me the code and explain more about what do you mean by "not saving properly".
0 Comments
More Answers (0)
See Also
Categories
Find more on Directed Graphs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!