92 lines
2.9 KiB
Plaintext
92 lines
2.9 KiB
Plaintext
\usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
|
|
decorations.pathreplacing,decorations.pathmorphing,shapes,%
|
|
matrix,shapes.symbols,plotmarks,decorations.markings,shadows,backgrounds}
|
|
|
|
\pgfdeclarelayer{background}
|
|
\pgfdeclarelayer{foreground}
|
|
\pgfdeclarelayer{L0}
|
|
\pgfdeclarelayer{L1}
|
|
\pgfdeclarelayer{L2}
|
|
\pgfdeclarelayer{L3}
|
|
\pgfsetlayers{background,L0,L1,L2,L3,main,foreground}
|
|
|
|
\newcommand{\scale}{.12}
|
|
|
|
\begin{tikzpicture}[scale=\scale,every node/.style={scale=\scale},on grid ]
|
|
|
|
\tikzstyle{arrowstyle}=[scale=1]
|
|
\tikzstyle{IntraArrow}=[draw=black, shorten <=0, postaction={decorate,decoration={markings, mark=at position .3 with {\arrow[arrowstyle]{stealth}}}} ]
|
|
\tikzstyle{IntraNumber}=[scale=5.5, align=center]
|
|
|
|
\draw[draw=black, very thick] (-31.5,-31.5) rectangle ++(64,64);
|
|
|
|
% \draw[xshift=.5cm] (-32,33) grid ++(64,1);
|
|
% \draw[yshift=-.5cm] (-32,33) grid ++(-1,-64);
|
|
% \node[IntraNumber] at (-30,33) {30};
|
|
% \node[IntraNumber] at (-20,33) {20};
|
|
% \node[IntraNumber] at (-10,33) {10};
|
|
% \node[IntraNumber] at (0,33) {0};
|
|
% \node[IntraNumber] at (10,33) {10};
|
|
% \node[IntraNumber] at (20,33) {20};
|
|
% \node[IntraNumber] at (30,33) {30};
|
|
|
|
\coordinate (Center) at (0,0);
|
|
|
|
%% Vertical Modes
|
|
\setcounter{maincounter}{1}
|
|
\foreach \y in {-31,-26,-21,-17,-13,-9,-5,-2}
|
|
{
|
|
\addtocounter{maincounter}{1}
|
|
\draw[IntraArrow] (-32,\y) to (Center);
|
|
\node[IntraNumber] at (-34,\y-.7) {\themaincounter};
|
|
}
|
|
\addtocounter{maincounter}{1}
|
|
\draw[IntraArrow] (-32,0) to (Center);
|
|
\node[IntraNumber] at (-34,0) {\themaincounter};
|
|
\foreach \y in {2,5,9,13,17,21,26}
|
|
{
|
|
\addtocounter{maincounter}{1}
|
|
\draw[IntraArrow] (-32,\y) to (Center);
|
|
\node[IntraNumber] at (-34,\y+.7) {\themaincounter};
|
|
}
|
|
|
|
%% Horizontal Modes
|
|
\foreach \x in {-32,-26,-21,-17,-13,-9,-5,-2}
|
|
{
|
|
\addtocounter{maincounter}{1}
|
|
\draw[IntraArrow] (\x,33) to (Center);
|
|
\node[IntraNumber] at (\x-.8,34.7) {\themaincounter};
|
|
}
|
|
\addtocounter{maincounter}{1}
|
|
\draw[IntraArrow] (0,33) to (Center);
|
|
\node[IntraNumber] at (0,34.7) {\themaincounter};
|
|
\foreach \x in {2,5,9,13,17,21,26,32}
|
|
{
|
|
\addtocounter{maincounter}{1}
|
|
\draw[IntraArrow] (\x,33) to (Center);
|
|
\node[IntraNumber] at (\x+.8,34.7) {\themaincounter};
|
|
}
|
|
|
|
% \node[scale=1/\scale, text width=2cm, align=left] at (10,-3) {\footnotesize 0: Planar};
|
|
% \node[scale=1/\scale, text width=2cm, align=left] at (10,-6) {\footnotesize 1: DC};
|
|
|
|
|
|
% % H.264
|
|
% \foreach \x in {-31,-15,0,15,32}
|
|
% \draw[ red,-latex] (Center) to (\x,-32);
|
|
%
|
|
% \foreach \y in {-15,0,15}
|
|
% \draw[red,-latex] (Center) to (32,\y);
|
|
|
|
% \foreach \x in {-31,-15,0,15,31}
|
|
% \draw[IntraArrow, red] (\x,31) to (Center);
|
|
%
|
|
% \foreach \y in {-15,0,15}
|
|
% \draw[IntraArrow, red] (-31,\y) to (Center);
|
|
%
|
|
% \node[scale=6, text width=2cm, align=left,red] at (8,-1) {Planar};
|
|
% \node[scale=6, text width=2cm, align=left,red] at (8,-4) { DC};
|
|
|
|
|
|
\end{tikzpicture}
|