Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!z11g2000prl.googlegroups.com!not-for-mail
From: NZTideMan <mulgor@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Troubles with exporting eps images
Date: Tue, 19 Aug 2008 00:34:48 -0700 (PDT)
Organization: http://groups.google.com
Lines: 76
Message-ID: <05436904-409f-4d2f-a9fd-564e828893a0@z11g2000prl.googlegroups.com>
References: <g86c04$abh$1@fred.mathworks.com> <Xns9AFE73028E8A1scottseidmanmindspri@130.133.1.4> 
NNTP-Posting-Host: 202.78.152.105
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1219131291 6846 127.0.0.1 (19 Aug 2008 07:34:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 19 Aug 2008 07:34:51 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: z11g2000prl.googlegroups.com; posting-host=202.78.152.105; 
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Maxthon; 
X-HTTP-Via: 1.1 nc5 (NetCache NetApp/6.0.5P1)
Xref: news.mathworks.com comp.soft-sys.matlab:486176



On Aug 19, 1:42=A0pm, "Paul " <p...@ceri.memphis.edu> wrote:
> Scott Seidman <namdiestt...@mindspring.com> wrote in message
>
> <Xns9AFE73028E8A1scottseidmanminds...@130.133.1.4>...
>
>
>
> > "johnatan FM" <pierluig...@virgilio.it> wrote in
> news:g86c04$abh$1
> > @fred.mathworks.com:
>
> > > I am writing my M.Sc. thesis with Latex and I need to
> > > export many Matlab plots into eps files, in order to import
> > > them in the tex file.
> > > I am using Matlab version 7.5.0.342 (R2007b), since my
> > > operating system is Vista.
> > > Once obtained the desired plot, I use the Export Setup
> > > window to make the eps file.
> > > Without changing any option, but just clicking on "Apply to
> > > figure" and then saving the exported file (as sugested by
> > > the Matlab guide of this site), when I open the eps file
> > > with GhostView, it appers just a part of the original
> > > Matlab plot. When I tried to export the same plot with the
> > > same exporting options, but in a different file format,
> > > such as jpg, the exported file results to be perfect.
> > > Since I need to have good quality images, I can not simply
> > > export the plots into jpg files and then convert them into
> > > eps ones and I would like to understand better how to work
> > > this matter out.
> > > Please, if anyone knows about this problem, answer me soon.
>
> > > Pierluigi
> > > Italy
>
> > I think WYSIWYG output has been a substantial matlab issue
> since Windows
> > 3.1, at least. =A0In most, if not all, of my other apps, I
> need do nothing
> > more than select all, copy, and paste to get flawless
>
> output into any app
>
> > I want it in-- not so with Matlab, and it has never been so.
>
> > Here's hoping the graphics team someday sees fit to pin
> this stuff down.
>
> > --
> > Scott
> > Reverse name to reply
>
> I agree with your comments since I probably spend the same
> amount of time in writing a script as compared to trying to
> get the output in a publishable form. =A0
>
> WYSIWYG would be most welcome but Matlab seems reluctant to
> act on this rather obvious weakness in the graphics output
> (just review how many messages are posted on this topic!)
>
> As we wait for a solution, I have found the following to be
> a workable substitute. =A0Expand the figure to fill the
> screen, and then use the Print Screen option in Windows to
> capture the image. =A0Then paste the copy into an image
> processor (Word in OK) and then edit out the Windows frame,
> size it, etc. =A0Now you can save it in any preferred format.
> =A0The resolution will not be perfect but since most images
> are reduced for publication, this is not an issue, at least
> with my work.- Hide quoted text -
>
> - Show quoted text -

I used to have problems using the export facility for eps as well, so
now I use print like this:
plotfile=3D[pth 'myplot'];
print('-depsc',plotfile)
and I have no problems whatsoever.