水(H2O)

水(H2O)

- 野中 孝昌 の投稿
返信数: 0

\begin{tikzpicture}[declare function = {bd=0.958; ba=104.4776; Hvdw=1.20; Ovdw=1.52;lw=1.5; vdw=2;}] \coordinate (O) at (0,0); \coordinate (a) at (bd,0); \coordinate (aa) at (1.5*bd,0); \coordinate (b) at ($(O)!bd!ba : (a)$); \coordinate (d) at ($(O)!bd!ba/2 : (aa)$); \draw [line width = lw, gray] (O) -- (a); \draw [line width = lw, gray] (O) -- (b); \draw [teal] (O) edge [out=-90,in=-90] (a) ; \draw [teal, ultra thick, -stealth] (O) -- (d) node[above,blue]{\tiny $1.855\rm\,D$}; \node[blue] at (bd/2, -0.4) {\tiny$0.958\rm\,\AA$}; \draw[blue] pic [semithick, densely dotted, < - >, >=stealth, "$104.475^\circ$", font=\tiny, draw=teal, angle eccentricity=1.7, angle radius = 5mm] { angle=a--O--b }; \shade[ball color = red, opacity = 1] (O) circle (vdw*1.52 mm); \shade[ball color = white, opacity = 1] (a) circle (vdw*1.2 mm); \shade[ball color = white, opacity = 1] (b) circle (vdw*1.2 mm); \node [xshift=-7mm] at (O) {\tiny $-0.331$};  \node [xshift=7mm] at (a) {\tiny $+0.165$};  \node [xshift=-7mm] at (b) {\tiny $+0.165$}; \end{tikzpicture}


\begin{tikzpicture}[
declare function = {
bd=0.958; ba=104.4776; Hvdw=1.20; Ovdw=1.52;
lw=1.5; vdw=2;
}]
 \coordinate (O) at (0,0);
 \coordinate (a) at (bd,0);
 \coordinate (aa) at (1.5*bd,0);
 \coordinate (b) at ($(O)!bd!ba : (a)$);
 \coordinate (d) at ($(O)!bd!ba/2 : (aa)$);
 \draw [line width = lw, gray] (O) -- (a);
 \draw [line width = lw, gray] (O) -- (b);
 \draw [teal] (O) edge [out=-90,in=-90] (a) ;
 \draw [teal, ultra thick, -stealth] (O) -- (d) node[above,blue]{\tiny $1.855\rm\,D$};
 \node[blue] at (bd/2, -0.4) {\tiny$0.958\rm\,\AA$};
 \draw[blue] pic [semithick, densely dotted, < - >, >=stealth, "$104.475^\circ$", font=\tiny, draw=teal, angle eccentricity=1.7, angle radius = 5mm] { angle=a--O--b };
 \shade[ball color = red, opacity = 1] (O) circle (vdw*1.52 mm);
 \shade[ball color = white, opacity = 1] (a) circle (vdw*1.2 mm);
 \shade[ball color = white, opacity = 1] (b) circle (vdw*1.2 mm);
 \node [xshift=-7mm] at (O) {\tiny $-0.331$}; 
 \node [xshift=7mm] at (a) {\tiny $+0.165$}; 
 \node [xshift=-7mm] at (b) {\tiny $+0.165$}; 
\end{tikzpicture}