Rank: 3278 based on 40 downloads (last 30 days) and 1 file submitted
photo

Jose Aumentado

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Jose
Updated   File Tags Downloads
(last 30 days)
Comments Rating
22 Apr 2005 printeps This works around MATLABs tendency to call all fonts 'Helvetica' in .eps files. Author: Jose Aumentado graphics import, graphics export, eps, font, helvetica, utilities 40 12
  • 4.66667
4.7 | 15 ratings
Comments and Ratings by Jose
Updated File Comments Rating
20 Nov 2008 Contractometer Times and plots contractions during labor. Author: Geoff Boynton

Comments and Ratings on Jose's Files View all
Updated File Comment by Comments Rating
08 Jan 2014 printeps This works around MATLABs tendency to call all fonts 'Helvetica' in .eps files. Author: Jose Aumentado Edison

Works well. I would repeat the comment of Nick Gravish below, with regards to exact font name. I wanted all text in my exported EPS to be Arial, and I had to make actualfont = 'ArialMT'; for this to work. Setting actualfont = 'Arial' made the EPS have courier fonts.

Another comment, printeps can be called on an EPS figure made by export_fig, which for me is the perfect way to create vector figures from MATLAB.

Top job Jose!

03 Jun 2013 printeps This works around MATLABs tendency to call all fonts 'Helvetica' in .eps files. Author: Jose Aumentado Sebastian

Very nice an easy to use.

I found one weird bug that is not important I guess. The text field of the y-label is sometimes split into two text fields. Here the example code:
---
x=1:10;
y=sin(x);
fig=figure(1);
plot(x,y);
ylabel('amplitude [µV]', 'FontSize', 11);
xlabel('test label [µV]');
set(0, 'DefaultAxesFontName', 'Arial');
printeps(fig, 'test.eps');
---

if you change the ylabel to the following everything is ok:
ylabel('amplitude [µV] ', 'FontSize', 11);

using Matlab 2012b on Windows 7.

Thanks for the tool!

19 Jun 2012 printeps This works around MATLABs tendency to call all fonts 'Helvetica' in .eps files. Author: Jose Aumentado Francis

I have the problem that when I look at the eps version of a plot produced with printeps, the text in the title and in the legend get cut off. Does anyone have a good idea of how to fix that? Thanks!

30 Apr 2012 printeps This works around MATLABs tendency to call all fonts 'Helvetica' in .eps files. Author: Jose Aumentado Alexandra

03 Jun 2011 printeps This works around MATLABs tendency to call all fonts 'Helvetica' in .eps files. Author: Jose Aumentado Nearey, Terrance

Thanks Jose for saving me some time finding out what Matlab should make clear in documentation. (Wish I'd spotted your contribution a couple of days ago!). The fonts actually supported in PRINT or SAVEAS in espc2 formats is apparently version- and platform-dependent.
On MATLAB Mac OS X Version: 10.6.7 Build: 10J869, the only fonts I could find that wound up in eps files were these: 'Courier' 'Helvetica' 'Palatino' 'Symbol' 'Times' 'Times New Roman' 'Zapf Dingbats'

Both Times New Roman and Times showed up as 'Times-Roman' in the eps file, but at least they weren't changed to 'Helvetica'.

Contact us