Update on Overleaf.
This commit is contained in:
@@ -80,4 +80,4 @@ black,decorate,decoration={brace,amplitude=10pt,mirror},xshift=0.0pt,yshift=-0.0
|
||||
-- (\SEVEN,0) node[black,midway,yshift=-0.6cm] {\footnotesize
|
||||
$1-\rho$};
|
||||
|
||||
\end{tikzpicture}
|
||||
\end{tikzpicture}%
|
||||
@@ -93,12 +93,12 @@
|
||||
% Legend
|
||||
\begin{scope}
|
||||
\draw[green!50!black,line width=0.9pt] (-0.15, -1) -- (0.15, -1);
|
||||
\node[anchor=west] at (0.2,-1) {Sim. Datasheet IDDs};
|
||||
\node[anchor=west] at (0.2,-1) {Sim. Datasheet $I_{DD}$};
|
||||
|
||||
\draw[red!50,line width=0.9pt] (3.4-0.15, -1) -- (3.4+0.15, -1);
|
||||
\node[anchor=west] at (3.6,-1) {Sim. Measured IDDs};
|
||||
\node[anchor=west] at (3.6,-1) {Sim. Measured $I_{DD}$};
|
||||
|
||||
\draw[blue!50,line width=0.9pt] (-0.15, -1.5) -- (0.15, -1.5);
|
||||
\node[anchor=west] at (0.2,-1.5) {Measurement};
|
||||
\node[anchor=west] at (0.2,-1.5) {Real Measurement};
|
||||
\end{scope}
|
||||
\end{tikzpicture}%
|
||||
\end{tikzpicture}%
|
||||
@@ -1,23 +1,30 @@
|
||||
\begin{tikzpicture}
|
||||
|
||||
%
|
||||
% Define colors
|
||||
\definecolor{idlecolor}{RGB}{255, 204, 153} % Light orange
|
||||
\definecolor{refcolor}{RGB}{153, 204, 255} % Light blue
|
||||
\definecolor{backgroundcolor}{RGB}{255, 255, 153} % Light yellow
|
||||
|
||||
\newcommand{\ya}{1}
|
||||
\newcommand{\yb}{2.6}
|
||||
\newcommand{\yc}{6}
|
||||
|
||||
%
|
||||
\newcommand{\ya}{0.5}
|
||||
\newcommand{\yb}{1.5}
|
||||
\newcommand{\yc}{3.5}%6
|
||||
%
|
||||
%\newcommand{\ya}{0.8}
|
||||
%\newcommand{\yb}{2.08}
|
||||
%\newcommand{\yc}{4.8}
|
||||
%
|
||||
\pgfdeclarelayer{background}
|
||||
\pgfsetlayers{background, main}
|
||||
% Define the axis
|
||||
\begin{axis}[
|
||||
%width=15cm, height=8cm,
|
||||
axis equal image,
|
||||
xlabel={Time},
|
||||
ylabel={Current},
|
||||
xmin=0, xmax=6,
|
||||
ymin=0, ymax=7,
|
||||
xmin=0,
|
||||
xmax=6,
|
||||
ymin=0,
|
||||
ymax=4,
|
||||
xtick=\empty,
|
||||
ytick=\empty,
|
||||
extra y ticks={\ya, \yb, \yc},
|
||||
@@ -36,24 +43,9 @@
|
||||
\begin{pgfonlayer}{background}
|
||||
\draw[pattern=north east lines, pattern color=red!50, draw=none] (axis cs:1,\ya) rectangle (axis cs:2,\yc);
|
||||
\draw[pattern=north east lines, pattern color=red!50, draw=none] (axis cs:4,\ya) rectangle (axis cs:5,\yc);
|
||||
\draw[pattern=north east lines, pattern color=green!50, draw=none] (axis cs:0,0) rectangle (axis cs:6,1);
|
||||
\draw[pattern=north east lines, pattern color=green!50, draw=none] (axis cs:0,0) rectangle (axis cs:6,\ya);
|
||||
\draw[pattern=north west lines, pattern color=blue!50, draw=none] (axis cs:0,\ya) rectangle (axis cs:6,\yb);
|
||||
\end{pgfonlayer}
|
||||
%\addplot[domain=3.7:7, fill=idlecolor, pattern=north east lines, draw=none] {1.5} \closedcycle;
|
||||
%\addplot[domain=7.4:10, fill=idlecolor, pattern=north east lines, draw=none] {1.5} \closedcycle;
|
||||
%% IDD5PB_B Background energy (yellow stripes)
|
||||
%\addplot[domain=0:3.3, fill=backgroundcolor, pattern=north west lines, draw=none] {2.5} \closedcycle;
|
||||
%\addplot[domain=3.7:7, fill=backgroundcolor, pattern=north west lines, draw=none] {2.5} \closedcycle;
|
||||
%\addplot[domain=7.4:10, fill=backgroundcolor, pattern=north west lines, draw=none] {2.5} \closedcycle;
|
||||
%% REFpb Foreground energy (blue stripes)
|
||||
%\addplot[domain=1:2.3, fill=refcolor, pattern=north east lines, draw=none] {4.5} \closedcycle;
|
||||
%\addplot[domain=4.7:6, fill=refcolor, pattern=north east lines, draw=none] {4.5} \closedcycle;
|
||||
%\addplot[domain=7.7:9, fill=refcolor, pattern=north east lines, draw=none] {4.5} \closedcycle;
|
||||
% Plot the current curve (in blue)
|
||||
%\addplot[domain=0:10, samples=100, thick, blue]
|
||||
% ({x}, {x < 1 || (x > 3 && x < 4.7) || x > 7.4 ? 2.5 :
|
||||
% (x >= 1 && x <= 2.3) || (x >= 4.7 && x <= 6) || (x >= 7.7 && x <= 9) ?
|
||||
% 4.5 : 1.5}) ;
|
||||
\addplot[thick] coordinates {(0,\ya) (1,\ya)};
|
||||
\addplot[thick] coordinates {(1,\ya) (1,\yc)};
|
||||
\addplot[thick] coordinates {(1,\yc) (2,\yc)};
|
||||
@@ -67,21 +59,9 @@
|
||||
\addplot[dashed] coordinates {(0,\ya) (6,\ya)}; % IDD2N
|
||||
\addplot[dashed] coordinates {(0,\yb) (6,\yb)}; % IDD5PB
|
||||
\addplot[dashed] coordinates {(0,\yc) (6,\yc)}; % IDD5PB_B
|
||||
% Text Annotations
|
||||
%\node[align=left] at (axis cs:9.8,5.8) {\textbf{IDD5B}};
|
||||
%\node[align=left] at (axis cs:9.8,4.3) {\textbf{IDD5A}};
|
||||
%%\node[align=left] at (axis cs:9.8,2.3) {\textbf{I\_0}};
|
||||
%\node[align=left] at (axis cs:9.8,1.3) {\textbf{IDD2N}};
|
||||
% Labels for periods tRFCpb and tREFI8
|
||||
\draw[thick, {Latex}-{Latex}] (axis cs:1,5) -- (axis cs:2,5) node[midway,below] {$t_{RFC}$};
|
||||
%\draw[thick, {Latex}-{Latex}] (axis cs:4,5) -- (axis cs:5,5) node[midway,below] {$tRFC$};
|
||||
\draw[thick, {Latex}-{Latex}] (axis cs:1,4) -- (axis cs:4,4) node[midway,below] {$t_{REFI}$};
|
||||
%\draw[thick, <->] (axis cs:1,0.5) -- (axis cs:2.3,0.5) node[midway,below] {$tRFC_{pb}$};
|
||||
%\draw[thick, <->] (axis cs:0,0.5) -- (axis cs:3.3,0.5) node[midway,below] {$tREFI8$};
|
||||
%\draw[thick, <->] (axis cs:4.7,0.5) -- (axis cs:6,0.5) node[midway,below] {$tRFC_{pb}$};
|
||||
%\draw[thick, <->] (axis cs:3.7,0.5) -- (axis cs:7,0.5) node[midway,below] {$tREFI8$};
|
||||
%\draw[thick, <->] (axis cs:7.7,0.5) -- (axis cs:9,0.5) node[midway,below] {$tRFC_{pb}$};
|
||||
%\draw[thick, <->] (axis cs:7.4,0.5) -- (axis cs:10,0.5) node[midway,below] {$tREFI8$};
|
||||
\draw[thick, {Latex}-{Latex}] (axis cs:1,2.9) -- (axis cs:2,2.9) node[midway,below] {$t_{RFC}$};
|
||||
\draw[thick, {Latex}-{Latex}] (axis cs:1,2.1) -- (axis cs:4,2.1) node[midway,below] {$t_{REFI}$};
|
||||
\end{axis}
|
||||
% Legend
|
||||
\begin{scope}
|
||||
@@ -92,8 +72,5 @@
|
||||
\node[draw,pattern=north west lines, pattern color=blue!50] at (0.0,-1.5) {~};
|
||||
\node[anchor=west] at (0.2,-1.5) {Average Refresh Energy};
|
||||
\end{scope}
|
||||
%\draw[pattern=north east lines, pattern color=red!50, draw=none] (axis cs:1,1) rectangle (axis cs:2,6);
|
||||
%\draw[pattern=north east lines, pattern color=red!50, draw=none] (axis cs:4,1) rectangle (axis cs:5,6);
|
||||
%\draw[pattern=north east lines, pattern color=green!50, draw=none] (axis cs:0,0) rectangle (axis cs:6,1);
|
||||
%
|
||||
\end{tikzpicture}%
|
||||
Reference in New Issue
Block a user