Code: Select all
\documentclass[10pt]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage[left=4.5cm,right=4.5cm,top=4cm,bottom=4cm]{geometry}
\begin{document}
\pagestyle{empty}
\begin{center}
\makebox[0pt][c]{\begin{tikzpicture}[x=0.28cm,y=3cm]
\def\xmin{0}
\def\xmax{31}
\def\ymin{0.5}
\def\ymax{3.6}
\draw[thick,->] (0,0.5) -- (33,0.5) node [right] {$Freq(GHz)$};
\draw[thick,->] (0,0.5) -- (0,3.8)node [right] {$S11$};
\foreach \s/\x in {0/30, 5/35, 10/40, 15/45, 20/50, 25/55, 30/60}
{
\draw[thick,shift={(\x,0)}] (-239pt,39pt) -- (-239pt,45pt) node [below=10pt] {$\x$};
}
\foreach \n/\y in {0.5/0.62, 1/0.63, 1.5/0.64, 2/0.65, 2.5/0.66, 3/0.67, 3.5/0.68}
{
\draw[thick,shift={(0,\n)}] (3pt,0pt) --(-3pt,0pt) node [left=5pt]{$\y$};
}
\draw[thick,color=blue] plot[smooth] file {CaseA.dat};
\draw[style=help lines, ystep=0.5, xstep=5] (\xmin,\ymin) grid
(\xmax,\ymax);
\end{tikzpicture}
}
\end{center}
\end{document}
Code: Select all
\draw[thick,color=blue, yscale=50] plot[smooth] file {CaseA.dat};
Thanks and waiting for reply