% Rounding Gaussian coordinates. \begin{figure}[!htb] \centering \input{figures/figure_style} \begin{tikzpicture}[ndt picture,x=2cm,y=2cm] \node[ndt part] at (-2.7,1.45) {(a) Move $D$ along the line}; \definecolor{qcircle}{HTML}{367795} \draw[draw=qcircle,dash pattern=on 3pt off 1.7pt,line width=.72pt] (0,0) circle (1); \draw[ndt edge] (-1,0)--(0,1)--(1,0)--cycle; \draw[ndt construction] (-1,0)--(-1.5,-.5) (1,0)--(1.5,-.5); \draw[ndt arrow] (-2.2,-.5)--(2.2,-.5); \node[right] at (2.2,-.5) {$u$}; \foreach \x in {-1.5,1.5} {\node[ndt orientation mark] at (\x,-.5) {};} \foreach \x in {-.8660254,.8660254} {\node[ndt incircle mark,draw=ndtBlue] at (\x,-.5) {};} \foreach \x/\lab in {-1.5/{-3/2},-.8660254/{-\sqrt3/2},.8660254/{\sqrt3/2},1.5/{3/2}} { \draw[black!45,line width=.4pt] (\x,-.55)--(\x,-.88); \node[below] at (\x,-.90) {$\lab$}; } \node[ndt dot] at (-1,0) {}; \node[left] at (-1,0) {$A$}; \node[ndt dot] at (1,0) {}; \node[right] at (1,0) {$B$}; \node[ndt dot] at (0,1) {}; \node[above] at (0,1) {$C$}; \node[ndt dot] at (.3,-.5) {}; \node[above] at (.3,-.5) {$D(u)$}; \end{tikzpicture} \vspace{-.7mm} \begin{tikzpicture}[ndt picture,x=11cm,y=1cm] \node[ndt part] at (-.02,1.05) {(b)}; \node[anchor=west] at (.06,1.05) {$v=\Phi(u)$: four crossings in eight equal-probability intervals}; \foreach \a/\b in {0/.125,.125/.25,.75/.875,.875/1} { \fill[ndtOrange!23] (\a,0) rectangle (\b,.5); } \draw[ndt edge] (0,0) rectangle (1,.5); \foreach \j in {1,...,7} {\draw[black!45,line width=.5pt] (\j/8,0)--(\j/8,.5);} \foreach \x in {.0668072,.1932381,.8067619,.9331928} { \draw[black!58,line width=.68pt] (\x,.27)--(\x,.62); } \foreach \x in {0.04005916,0.15865525,0.30853754,0.45026178,0.54973822,0.69146246,0.84134475,0.95994084} {\fill[black] (\x,.18) circle (1.8pt);} \foreach \x in {.0668072,.9331928} {\node[ndt orientation mark] at (\x,.7) {};} \foreach \x in {.1932381,.8067619} {\node[ndt incircle mark,draw=ndtBlue] at (\x,.7) {};} \node[below,text height=1.8ex,text depth=.6ex] at (0,-.12) {$0$}; \foreach \j in {1,...,7} {\node[below,text height=1.8ex,text depth=.6ex] at (\j/8,-.12) {$\j/8$};} \node[below,text height=1.8ex,text depth=.6ex] at (1,-.12) {$1$}; \fill[black] (.04,-.97) circle (1.8pt); \node[anchor=west] at (.065,-.97) {representative image}; \draw[black!58,line width=.68pt] (.39,-1.12)--(.39,-.82); \node[anchor=west] at (.415,-.97) {critical value}; \fill[ndtOrange!23] (.76,-1.12) rectangle (.79,-.82); \node[anchor=west] at (.81,-.97) {bin with a crossing}; \end{tikzpicture} \caption{Rounding one coordinate can change the type only in a bin with a crossing. In (a), \(A=(-1,0)\), \(B=(1,0)\), \(C=(0,1)\) and \(D=(u,-1/2)\). Orientation changes at \(u=\pm3/2\) (squares) and the incircle test changes at \(u=\pm\sqrt3/2\) (circles). In (b), \(\Phi\) maps these four values into bins \(1,2,7,8\). The black dots are \(\Phi(u)\) for the rational representatives \(u=\pm1/8,\pm1/2,\pm1,\pm7/4\), one per bin. Rounding within any unshaded bin preserves the complete type.}\label{fig:quantile} \end{figure}