Hi Stefan,

I can confirm the behavior -- seems there are difficulties while 
computing the correct bounding box for the superscript.

I have experimented a bit and found the work-around to enlarge the tick 
scale label a little bit:

\begin{tikzpicture}
\begin{axis}[y tick scale label style={inner sep=1pt}]
\addplot {x * 10^8};
\end{axis}
\end{tikzpicture}

I will take a note on my todo list. Perhaps this can be improved 
automatically without changing such sizes.

Thanks for reporting the issue.

Best regards

Christian


Am 17.11.2010 17:09, schrieb Stefan Schulze Frielinghaus:
> Hi all,
>
> can someone confirm the following behavior. The y label of a plot gets
> truncated in some circumstances if the external library is used. This
> happens for me if no title is specified for a plot. Consider the
> following example:
>
> \documentclass[11pt,a4paper]{article}
>
> \usepackage{tikz}
> \usepackage{pgfplots}
>
> \pgfplotsset{compat=1.3}
> \usepgfplotslibrary{external}
> \tikzexternalize
>
> \begin{document}
> \begin{tikzpicture}
> \begin{axis}
> \addplot {x * 10^8};
> \end{axis}
> \end{tikzpicture}
> \end{document}
>
> The 8 of 10^8 of the y label is truncated. Does my PDF viewer play
> tricks on me or does the external library truncate the 8 a little bit?
> Can someone confirm this? At least I can see the complete 8 if I do not
> use the external library.
>
> Kind regards,
> Stefan
>
> PS: I'm using pgfplots version 1.4.1
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2&  L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> Pgfplots-features mailing list
> Pgfplots-features@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pgfplots-features
>    


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to