Why is the text in my figure labels corrupted when I print to a PDF file in MATLAB 7.0 (R14)?
2 views (last 30 days)
Show older comments
I have a figure with LaTeX interpreted axes labels and title. When I print the figure to a PDF file using a PDF printer driver (one that shows up as a "printer", as opposed to using PRINT with the '-dpdf' option), the text is corrupted. Characters inside math equations are converted to the Greek letter psi and other characters are converted to small accent marks.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This is an issue with the 3rd party printer driver and (possibly) what fonts are generally available to the system.
You can use the following command:
print(gcf,'-dpdf','filename')'
where "filename" is the name you would like to save the figure to.
Alternatively, you can save the file as PDF by selecting File -> Save As... from the figure window and then choosing PDF from the drop down menu in the dialog. box.
0 Comments
More Answers (0)
See Also
See Also
Categories
Find more on Labels and Annotations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!