Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Matlab can export to pdf with better quality than EPS, but with its own caveats of setting decent margins and font sizes.</p> <p><strong>edit</strong>: Examples are similar to the EPS case as explained in the help of e.g. <a href="http://www.mathworks.nl/help/techdoc/ref/print.html" rel="nofollow"><code>print</code></a>:</p> <pre><code>saveas(gcf,'filename.pdf') </code></pre> <p>or</p> <pre><code>print('-dpdf','filename.pdf') </code></pre> <p>You might also want to take a look at the <code>PaperSize</code>, <code>PaperPosition</code> and <code>PaperUnits</code> properties of your figure (by means of the <code>set</code> and <code>get</code> functions).</p> <p><strong>edit</strong>: Another option is to use one of the functions available on <a href="http://www.mathworks.com/matlabcentral/fileexchange" rel="nofollow">FileExchange</a> such as the ones mentioned by @user664303 below. My personal favorite for use with LaTeX is <a href="http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz" rel="nofollow"><code>matlab2tikz</code></a> for which the latest version can be gotten from <a href="https://github.com/matlab2tikz/matlab2tikz" rel="nofollow">GitHub</a>. Together with the <a href="http://www.howtotex.com/tips-tricks/faster-latex-part-ii-external-tikz-library/" rel="nofollow"><code>external</code></a> library of TikZ, I think this delivers some of the most nicest graphs around. Probably it's also best to mention that I have been actively involved in the <code>matlab2tikz</code> project since 2012.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload