From: Assaf Weinstein on
Hi,

I would like to plan figures which I created in Matlab to a research paper (LyX). I need them to be in .eps format, and all in same size, so I use EXPORTFIG:

exportfig(gcf,'ShortestAR.fig','width',6,'fontmode','fixed','fontsize',26).

All is good, except one thing: My figure contains annotations (which I add, for instance, using the annotate() function). The problem is that my anootation textbox's location is distorted (its not relatively in the same position as it shows in the .fig file which I convert to an .eps one using EXPORTFIG).

Does anyone know a way to get around this (other than tediously trying to figure out the location for the textbox in the .fig file which will result in the location Im looking for when converted to .eps..)?

(this would be of tremendous help to me!!)

Thanks,

Assaf
From: Oliver Woodford on
"Assaf Weinstein" <assafweinstein_remove.this(a)gmail.com> wrote in message <i11jm5$i6a$1(a)fred.mathworks.com>...
> Hi,
>
> I would like to plan figures which I created in Matlab to a research paper (LyX). I need them to be in .eps format, and all in same size, so I use EXPORTFIG:
>
> exportfig(gcf,'ShortestAR.fig','width',6,'fontmode','fixed','fontsize',26).
>
> All is good, except one thing: My figure contains annotations (which I add, for instance, using the annotate() function). The problem is that my anootation textbox's location is distorted (its not relatively in the same position as it shows in the .fig file which I convert to an .eps one using EXPORTFIG).
>
> Does anyone know a way to get around this (other than tediously trying to figure out the location for the textbox in the .fig file which will result in the location Im looking for when converted to .eps..)?
>
> (this would be of tremendous help to me!!)
>
> Thanks,
>
> Assaf

Hi

You could set the on screen figure to the size you want it exported at, set the font size, then use export_fig (a different function!), which can be found at:
http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig
This might not cause the same problem.

HTH,
Oliver
From: kk KKsingh on
"Assaf Weinstein" <assafweinstein_remove.this(a)gmail.com> wrote in message <i11jm5$i6a$1(a)fred.mathworks.com>...
> Hi,
>
> I would like to plan figures which I created in Matlab to a research paper (LyX). I need them to be in .eps format, and all in same size, so I use EXPORTFIG:
>
> exportfig(gcf,'ShortestAR.fig','width',6,'fontmode','fixed','fontsize',26).
>
> All is good, except one thing: My figure contains annotations (which I add, for instance, using the annotate() function). The problem is that my anootation textbox's location is distorted (its not relatively in the same position as it shows in the .fig file which I convert to an .eps one using EXPORTFIG).
>
> Does anyone know a way to get around this (other than tediously trying to figure out the location for the textbox in the .fig file which will result in the location Im looking for when converted to .eps..)?
>
> (this would be of tremendous help to me!!)
>
> Thanks,
>

Why dont you use

print -depsc file.eps
> Assaf