|
In article <1193322050.075970.183230@y42g2000hsy.googlegroups.com>,
Randy Poe <poespam-trap@yahoo.com> wrote:
> On Oct 25, 8:42 am, "Norman " <norman.nospam.vio...@tu-berlin.de>
> wrote:
> > This bug seems to appear in 2007a and 2007b. And it just
> > looks like as if this character 1 is a kind of page number.
> > Perhaps Matlab uses a default style for the LaTeX
> > interpreter where page numbering is active?
> >
> > Try to see yourself:
> >
> > figure
> > axes
> > ylabel('foo','Interpreter','Latex')
> >
> > The 'page number' appears sometimes within the plot,
> > sometimes outside the plot and sometimes beyond the visible
> > area (then you have to move the plot). I think this depends
> > on the screen resolution and the original plot size
> > (different in subplots).
> >
> > Perhaps this issue has also something to do with the
> > bounding box bug (in eps exports). I believe this issue was
> > fixed, but perhaps just by an workaround?
>
> Confirmed. Appears in R2007a/Linux, not in R2006b/WinXP.
>
> The extraneous "1" disappears when I delete the y-label. It
> is clearly part of the label, and only appears when the
> interpreter is set to 'Latex'. With 'Tex', it doesn't appear.
>
> The positioning of that thing seems to be in something
> other than normalized or data units, e.g. pixels or
> inches. That's why its position relative to the window
> boundaries changes when you resize.
>
> - Randy
>
>
> - Randy
The "1" is a LaTeX page number. The bug has already been submitted to
The MathWorks.
The only workaround is to suppress the page number like this:
ylabel('\thispagestyle{empty}anything','Interpreter','latex')
--
Doug Schwarz
dmschwarz&ieee,org
Make obvious changes to get real email address.
|