Le jeudi 23/06/11 à 23h33,
"Stefan Pinnow" <mo-...@gmx.net> a écrit :

> Try using
>     \pgfplotsset{
>         every axis/.append style={
>             small,
>         },
>     }
> which should do the trick.

Well, maybe I miss something, but I still prefer the other method:

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

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

\begin{document}
\myplot

\pgfplotsset{
  every axis/.append style={
    small,
  },
}
\myplot

\pgfplotsset{
  every axis/.append style={
    footnotesize,
  },
}
\myplot

\pgfplotsset{
  every axis/.append style={
    tiny,
  },
}
\myplot


\pgfplotsset{
  every axis/.append style={
    normalsize,
  },
}

\tikzset{
  every picture/.style={scale=0.7,every picture/.style={}},
}
\myplot
\end{document} 

Thanks anyway.
-- 
Denis

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to