I am not sure if my title gets through what I'm after, but basically I am using matlab2tikz to generate some plots for me and am wondering how you can do some modifications from outside the .tikz file.
e.g a .tikz from matlab2tikz will be like:
\begin{tikzpicture}
\begin{axis}[%
width=4.52083333333333in,
height=3.565625in,
scale only axis,
xmin=1, xmax=511, xlabel={$\text{q (um}^\text{-}\text{1)}$},
ymin=0.5, ymax=1, ylabel={Normalized RMS error}]
\addplot [color=blue,solid,line width=1.0pt,forget plot]
table[row sep=crcr]{
1 -57.943745 \\
2 .more data
3 .more data
};
\end{axis}
\end{tikzpicture}%
I am importing and scaling the files in my document as follows (copied from Dimension too large from matlab2tikz, and aligning graph axis ):
\begin{table}[h!]
\begin{center}
\begin{tabular}{ c p{6cm} p{6cm} }
\toprule
A & B & C \\
\cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(l){3-3}
text
&
\scalebox{0.4}{\input{images/exp5nrmse.tikz}}
\scalebox{0.4}{\input{images/exp5diff.tikz}}
\scalebox{0.4}{\input{images/exp5diff.tikz}}]
&
\scalebox{0.4}{\input{images/exp5nrmse.tikz}}
\\ \bottomrule
\end{tabular}
\caption{DDM Results}
\label{tbl:myLboro}
\end{center}
\end{table}
Is it possible to change things like picture width, height, x and y label positions and things without having to edit the actual .tikz files. I ask because the presented code's graphs do not line up, and I would like to never have to touch the contents of the .tikz files to fix this issue. Picture of the problem below (the red lines I added in paint show the misalignment):

Thanks for your time.
matlab2tikzs readme. In Matlab, use e.g.matlab2tikz('myfig.tex','width','\figwidth','height','\figheight'). This sets the width/height to the macros\figwidth/\figheight. In the LaTeX file, define lengths with these names, and use\setlengthto change the lengths, as seen in e.g. http://tex.stackexchange.com/q/142980/586. That way you can also avoid using\scalebox. For your specific case, you could use a right aligned table column, that would make the plots lined up along their right edge. – Torbjørn T. Mar 09 '14 at 18:25