When I use \begin{tikzpicture}[scale=X] with X<1/X>1 then font size of text in the picture is also changed. I need to use [scale=2] or [scale=0.5] and to preserve font size (e.g. normalsize).
\documentclass[a4paper]{article}
\usepackage{tikz}
\usepackage{pgfplots}
\tikzset{every picture/.append style={font=\normalsize}}
\begin{document}
Short text with normal size font.
\begin{tikzpicture}[scale=2, font=\normalsize]
\begin{axis}
[
ymin=0,ymax=12,xmin=0,xmax=3,
ylabel={frequency},xlabel={group},
xtick=data,xticklabels={A,B},
ytick={0,10},
]
\addplot plot coordinates
{
(1,10)
(2,6)
};
\end{axis}
\end{tikzpicture}
Another short text with normal size font.
\begin{tikzpicture}[scale=0.5, font=\normalsize]
\begin{axis}
[
ymin=0,ymax=12,xmin=0,xmax=3,
ylabel={frequency},xlabel={group},
xtick=data,xticklabels={A,B},
ytick={0,10},
]
\addplot plot coordinates
{
(1,10)
(2,6)
};
\end{axis}
\end{tikzpicture}
\end{document}


tikzpictureonly contains a PGFPlots axis, you can move thescale=2to theaxisoptions: That way, the font sizes aren't affected. – Jake Sep 20 '13 at 18:00