From: Simon Gosling on
Ben Barrowes <barrowes(a)alum.mit.edu> wrote in message <42d424fe$1(a)news3.es.net>...
> Perhaps someone has a suggestion or workaround.
>
> I am plotting a shaded region on a plot between two curves using a
> simple patch command:
> ppr=patch([Nall fliplr(Nall)], [lowerC,fliplr(upperC)],'b');
> and I want it transparent
> set(ppr,'FaceAlpha',.2)
> so ML picks OpenGL as the renderer. Fine.
>
> However, the fonts are jagged because the default resolution for OpenGL
> ps or eps files is 150. I also have lost the ability to use psfrag in
> latex because OpenGL doesn't make vector ps files with any embedded text
> info, just bitmapped(?) ps files.
>
> OK, I thought a (somewhat annoying) solution would be to increase the
> resolution when printing and deal with ML's latex interpreter.
>
> print('-dpsc2','plot1','-r300')
>
> or -r600, or... This leads to a postscript filesize of 26MB or more, but
> it looks OK.
>
>
> The problem is that when I use the -r### switch, *all* fontsizes are set
> back to some default that is not what I want.
> For example, the following snippet:
>
> clear all
> x=0:.01:pi;
> y=sin(x);
> figure(1);clf
> plot(x,y)
> xlab=xlabel('text')
> print('-dpsc2','-r300','test1')
> set(xlab,'FontSize',25);set(gca,'FontSize',25)
> print('-dpsc2','-r300','test2')
>
> test1.ps and test2.ps look exactly the same. The fontsizes have been
> totally ignored. This happens whether I use the -opengl switch or not.
>
> > uname -a
> Linux 2.4.21-27.0.1.EL #1 Mon Dec 20 18:56:53 EST 2004 i686 i686 i386
> GNU/Linux
>
> >> version
> ans =
> 7.0.4.352 (R14) Service Pack 2
>
>
> Any ideas?


I am experiencing the exact same problem. Did you find a solution to this?
From: us on
"Simon Gosling" <sigosling(a)yahoo.co.uk> wrote in message <i0ht81$sdj$1(a)fred.mathworks.com>...
> Ben Barrowes <barrowes(a)alum.mit.edu> wrote in message <42d424fe$1(a)news3.es.net>...
> > Perhaps someone has a suggestion or workaround.

> I am experiencing the exact same problem. Did you find a solution to this?

this thread is five years old...
which ML version do you have(?)...

us