Clear Filters
Clear Filters

graph is not saving properly in .pdf format, I am using 2018b

1 view (last 30 days)

Accepted Answer

Pratheek
Pratheek on 31 Mar 2023
Hi Retish,
you can save a graph in many ways using matlab, here are a few
  • 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
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".

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!