Commit c4914485 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

improve drawing

parent 88ff94e9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
\begin{tikzpicture}[thick]
    % Define pixel size and offset
    \def\psize{1.5cm}
    \def\offset{0.4cm}
    \def\offset{0.8cm}

    % Draw bottom row (no offset)
    \draw[fill=blue!10] (0,0) rectangle (\psize,\psize);
@@ -19,9 +19,9 @@
        node[midway,below] {$\delta$};

    % Label pixel dimensions
    \draw[<->,thick,teal] (2*\psize+0.5cm,0) -- ++(0,\psize)
    \draw[<->,thick,teal] (2*\psize+\offset +0.1cm,0) -- ++(0,\psize)
        node[midway,right] {$p_y$};
    \draw[<->,thick,teal] (0,-0.5cm) -- ++(\psize,0)
    \draw[<->,thick,teal] (0,-0.2cm) -- ++(\psize,0)
        node[midway,below] {$p_x$};

\end{tikzpicture}
−885 B (8.4 KiB)
Loading image diff...