Have had some trouble with a eps2eps, it would change the bounding box to cut off the axes... replaced it with the ps2epsi as suggested in your file, seems to handle that issue.
Thanks!
31 Mar 2009
PlotPdfTex
PDF file exportation with LaTeX text and symbols
Author: Emmett L
The file works nicely and based on plotepstex. However, there is a bug in the function:
The function creates an eps file called and deletes this temporary file after the pdf has been created.
While this itself is no problem, the function uses the same base string for the eps as for the pdf. Now, if I created a eps with that name before, e.g., using 'plotepstex', it is deleted by 'plotpdftex'.
To fix this, simply change the function such that it uses a (second) temporary file name instead of the string given by the user. Here's the diff output (diff new old):
Emmet, if you could consider this please for an update.
Thanks for the function, works nicely apart from the above mentioned.
24 Sep 2008
PlotPdfTex
PDF file exportation with LaTeX text and symbols
Author: Emmett L
Munsamy, Sagren
This was exactly what I was looking for. I spent hours trying to combine the laprint generated files. I was compiling using pdflatex so I needed to have a combined rendering of the laprint generated files. Thank you for this submission. A true timesaver!