# Scale markers in external Tikz file

I use external .tikz files to include graphics in my LaTeX document. These .tikz files are generated by matlab2tikz. The scatter plots that come out though have very small markers. I want to scale these markers. Right now I include the .tikz file as follows:

\begin{figure}
\centering
\newlength\figureheight
\newlength\figurewidth
\setlength\figureheight{0.5\linewidth}
\setlength\figurewidth{0.5\linewidth}
\input{images/filename.tikz}
\caption{caption}
\label{fig:label}
\end{figure}


How do I scale the markers at the moment I \input the .tikz file. I don't want to edit the content of the .tikz file itself. A method to scale plot markers globally would also be acceptable.

• Try \tikzset{mark size=5} (or some other value) before the \input statement. If that doesn't work, please edit your question to include the code in filename.tikz.
– Jake
Apr 2, 2013 at 14:39
• I don't know how matlab2tikz handles the plots but you can try adding \tikzset{every mark/.append style={scale=3}} in the preamble. Apr 2, 2013 at 14:39

\tikzset{mark size=5}

(or some other value) somewhere before your tikzpicture.