Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Error Saving Figure

Subject: Error Saving Figure

From: Branko

Date: 17 Jun, 2009 14:07:01

Message: 1 of 2

Hi guys,

I have problem with saving figure in vector format (pdf,eps). This is first time that when saving figure I'm getting message:

Error using ==> hgexport at 858
Error using ==> graphics\private\ghostscript at 307
Error using ==> <a
href="erroe:C\Progarmme\Matlab\R2007a\toolbox\graphics\private\ghostscript.m,183,1"
           >graphics\private\ghostscript at 183<\a>
Problem converting PostScript. System returned error:
- 1.Failied to convert to output format; Ghostscrpt status:
- 100.Error /undefinedfilename in --.libife--dfilename
Operand stack:
20.8333 WindowsLatinEncoding Font ()
Execution stack:

I don't know where could be problem.I'm using 2007a version. Bellow is the link of the figure that I'd like to save in pdf format.

http://aerofoto.si/controlpanel/figure_1.fig

Thanks in advance,

Branko

Subject: Error Saving Figure

From: Branko

Date: 17 Jun, 2009 14:50:19

Message: 2 of 2

Obviously there is bug in MT. If you change default name of the axis to some other i.e. Verdana, Georgia:
set(0, 'defaultAxesFontName', 'Verdana');


and save this figure in vector format (pdf, eps) you will get error about the Font:
perand stack:
   20.8333 WindowsLatin1Encoding Font ()
Execution stack:


Therefore, should be careful in changing axes font name(some are working some not). I tested this on 2007a and 2008a. Maybe in new version of MT this problem is solved.

Branko


"Branko " <bogunovic@mbss.org> wrote in message <h1ata5$1sb$1@fred.mathworks.com>...
> Hi guys,
>
> I have problem with saving figure in vector format (pdf,eps). This is first time that when saving figure I'm getting message:
>
> Error using ==> hgexport at 858
> Error using ==> graphics\private\ghostscript at 307
> Error using ==> <a
> href="erroe:C\Progarmme\Matlab\R2007a\toolbox\graphics\private\ghostscript.m,183,1"
> >graphics\private\ghostscript at 183<\a>
> Problem converting PostScript. System returned error:
> - 1.Failied to convert to output format; Ghostscrpt status:
> - 100.Error /undefinedfilename in --.libife--dfilename
> Operand stack:
> 20.8333 WindowsLatinEncoding Font ()
> Execution stack:
>
> I don't know where could be problem.I'm using 2007a version. Bellow is the link of the figure that I'd like to save in pdf format.
>
> http://aerofoto.si/controlpanel/figure_1.fig
>
> Thanks in advance,
>
> Branko

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us