Thanks for pointing that out, Eric. I try that and it did turn my plot 90 degree. The bad news is that GSview imports it upside down and if I want to view the plot on the screen, I have to rotate it downside up first. (Hey, I shouldn't complain. At least I can print without wasting a piece of paper for each plot).
So, looks like it's true that something MPL did to the eps file is causing Word to spit out that error page. I wish I know what it is. The problem of not finding out is that I need to send these plots to clients. I don't want to require that they have an .eps viewer in order to see my plots... Regards > -----Original Message----- > From: Eric Firing [mailto:[EMAIL PROTECTED] > Sent: Friday, February 23, 2007 3:07 PM > To: [EMAIL PROTECTED] > Cc: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-users] invalidrestore > > > [EMAIL PROTECTED] wrote: > > I installed gsview and gscript and tried it. The good > news is that when I print from inside gsview, the error page > is gone. The bad news is that the oritentation is wrong. My > plot is designed for landscape. From word, I set the page > setup to landscape, import the picture, and print. But with > gsview, it imports my plot 90 degree wrong. Changing > orientation flips the whole page 90 degree but the plot gets > rotated as well and so it still prints wrong. > > > > I guess I have no choice but to regress step by step and > see which MPL > > feature aggrevated this condition. > > > > Did you try saving the figure using the orientation kwarg? This is > intended for postscript output. > > e.g. > > from pylab import figure, show, close > fig = figure() > ax = fig.add_subplot(1,1,1) > ax.plot([0,1], [0,1]) > fig.savefig('myplot.ps', orientation='landscape') > close(fig) > > Eric > -- John Henry ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users