Hi,

for a pgfplots course I'll give to PhD students :), I'll give a Beamer
presentation and I need the pictures' dimensions to be reduced,
together with font sizes or axis descriptions (so width and/or height
options are not solutions).

OK, this can be easily achieved thanks to scale option given to the
tikzpicture environment:

\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.3}

\begin{document}
\begin{tikzpicture}[scale=0.7]
  \begin{axis}
    \addplot coordinates {
      (0,0.2) (0.4,0.6) (0.6,0)
    };
    \legend{Blah}
  \end{axis}
\end{tikzpicture}
\end{document}

I'd like now apply this scaling to /all/ pictures in my document and
the only solution I found is to make use of:

\tikzset{every picture/.style={scale=<factor>}}

but, in this case, the legend placement is rather strange:

\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.3}

\tikzset{every picture/.style={scale=0.7}}

\begin{document}
\begin{tikzpicture}
  \begin{axis}
    \addplot coordinates {
      (0,0.2) (0.4,0.6) (0.6,0)
    };
    \legend{Blah}
  \end{axis}
\end{tikzpicture}
\end{document} 

Could you suggest a workaround?

Thanks in anticipation.
-- 
Denis

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to