Trinh @ Bath

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
it_matlab_figures [2024/03/23 23:32]
trinh
it_matlab_figures [2024/03/23 23:33] (current)
trinh
Line 8: Line 8:
   - Use [[https://uk.mathworks.com/matlabcentral/fileexchange/23629-export_fig|export_fig]] package (Matlab file exchange) to export to pdf format. In general, output to PDF format unless the image is very detail-heavy (surface plots, contour plots, etc.). This ensures that the image is scalable and crisp.    - Use [[https://uk.mathworks.com/matlabcentral/fileexchange/23629-export_fig|export_fig]] package (Matlab file exchange) to export to pdf format. In general, output to PDF format unless the image is very detail-heavy (surface plots, contour plots, etc.). This ensures that the image is scalable and crisp. 
  
-Once you have downloaded the ''%%export_fig%%'' package, unzip it and move the folder into a unified functions folder on your computer. Refer to the [[it_matlab_startup|startup.m]] guide. +Once you have downloaded the ''%%export_fig%%'' package, unzip it and move the folder into a unified functions folder on your computer. Refer to the [[it_matlab_startup|startup.m]] guide. By doing so, you can issue a command like
  
 +<code matlab>
 +export_fig 'test.pdf' 
 +</code>
 +
 +in order to produce a PDF of the currently targetted figure.