I've used pfgplot to plot the data as shown in output image. It seems to have isconsistency in font size. Even if not how can i reduce the size of subscript "I" and "R".
\documentclass{standalone}
\usepackage{amsmath}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}[scale = 1]
\begin{axis}[
axis x line = middle,
axis y line = middle,
xlabel = {$t$},
ylabel = {$x_{R}(t)$},
every axis x label/.style={
at={(ticklabel* cs:1)},
anchor=west,
},
every axis y label/.style={
at={(ticklabel* cs:1)},
anchor=south,
},
font = \tiny,
xmin = 0,
xmax = 12,
enlarge x limits = 0.15,
axis line style = {very thin},
ymin = -2,
ymax = 2,
xtick = {\empty},
ytick = {\empty},
extra x ticks={7},
extra x tick labels={$\tau$},
axis line style = {black},
width = 7cm,
height = 4cm,
mark size = 1pt,
]
\addplot[black,smooth]table{Real.txt};
\addplot [only marks,samples at={7},inner sep=2pt] {1.2} node[pin=0:{$x_{R}(\tau)$}]{};
\addplot [no marks,dashed]coordinates {(7,0)(7,1.2)};
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}[scale = 1]
\begin{axis}[
axis x line = middle,
axis y line = middle,
xlabel = {$t$},
ylabel = {$x_{I}(t)$},
every axis x label/.style={
at={(ticklabel* cs:1)},
anchor=west,
},
every axis y label/.style={
at={(ticklabel* cs:1)},
anchor=south,
},
font = \tiny,
xmin = 0,
xmax = 12,
enlarge x limits = 0.15,
axis line style = {very thin},
ymin = -2,
ymax = 2,
xtick = {\empty},
ytick = {\empty},
extra x ticks={7},
extra x tick labels={$\tau$},
axis line style = {black},
width = 7cm,
height = 4cm,
mark size = 1pt,
]
\addplot[black]table{Imag.txt};
\addplot [only marks,samples at={7},inner sep=2pt] {1} node[pin=0:{$x_{I}(\tau)$}]{};
\addplot [no marks,dashed]coordinates {(7,0)(7,1)};
\end{axis}
\end{tikzpicture}
\end{document}



pgfplots. Are you happy when you use$x_R$(in\tiny) in the main text (outside oftikzpicture)? – Dr. Manuel Kuehner Jan 29 '18 at 20:35xis really the only option I see your problem... But if the choice is yours you can just use an uppercaseXthat seems perfect to me. (Just an idea in case you could change it) (Also your example doesn't compile and you have just to remove not needed parts or to add the files missing using filecontents) – koleygr Jan 29 '18 at 20:51