<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% 
%%  A DANTE-Edition example
%% 
%%  Example 33-03-65 on page 724.
%% 
%%  Copyright (C) 2011 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{375.57637pt}
\setlength\parindent{0pt}
\def\ParCol#1#2#3{%
  \tabular{@{}c@{}}\bfseries#1 (\textcolor{Blue}{#2})\\
    \bfseries(\textcolor{Brown}{#3})\endtabular}

\usepackage[dvipsnames,svgnames]{pstricks}
\usepackage{pst-pad,graphicx}

\begin{document}
\resizebox{0.9\linewidth}{!}{%
\begin{pspicture}(-5,-4)(7.5,4)
\PstPad[FluidMaxRadius=4,FluidMinRadius=3,FluidHeight=1,FSphereHeight=2,
  FSphereFillColor=green!20!white,FluidFillColor=blue!10!white,FluidLineWidth=1.5pt,
  FSphereLineWidth=0.1pt,WallLineWidth=3pt,WallLineColor=blue,
  FSphereLineColor=magenta,FluidLineColor=green!50!black](0,0)
  \sffamily\footnotesize%
  \psset{linecolor=gray, linewidth=0.2pt} %% "Crosshair" for orientation:
  \psline[linestyle=dashed](-5,0)(5,0)
  \psline[linestyle=dashed](0,-3)(0,1.5)
  %% Node definitions:
  \pnode(0,0){center}
  \pnode(-4,-2.25){maxradiusLeft}\pnode(0,-2.25){maxradiusRight}
  \pnode(-3,0){minradiusLeft}    \pnode(3,0){minradiusRight}
  \pnode([nodesep=4.5]center){fluidheightCenter}
  \pnode([nodesep=4.5,offset=-1]center){fluidheightBottom}
  \pnode([offset=-1]fluidheightBottom){wallThicknessBottom}
  \pnode([nodesep=5.2,offset=1]center){fsphereheightBottom}
  \pnode([offset=1]fsphereheightBottom){fsphereheightTop}
  \psset{arrows=|&lt;-&gt;|,linewidth=0.8pt,linecolor=red,arrowscale=1.5}
  \rput[l]([nodesep=.2,offset=.2]center){\textbf{(0,0)}}%% Center:
  \ncline{minradiusLeft}{center}\nbput{\ParCol{FluidMinRadius}{0.5}{3}}
  \ncline{maxradiusLeft}{maxradiusRight}\nbput{\ParCol{FluidMaxRadius}{1}{4}}
  \ncline{fluidheightCenter}{fluidheightBottom}\naput{\ParCol{FluidHeight}{.5}{1}}
  \ncline{fluidheightBottom}{wallThicknessBottom}\naput{\ParCol{WallThickness}{1}{1}}
  \ncline{fsphereheightBottom}{fsphereheightTop}\nbput{\ParCol{FSphereHeight/2}{2}{2}}
  \psline{-&gt;}(-.1,2.2)(-.3,1.6)
  \rput(-.1,2.6){\ParCol{FSphereFillColor}{"lightgray"}{"green!20!white"}}
  \psline{-&gt;}(4,2.2)(2.5,.6)
  \rput(4,2.6){\ParCol{FluidFillColor}{"yellow"}{"blue!10!white"}}
  \psline{-&gt;}([offset=.5,nodesep=3]minradiusRight)(minradiusRight)
  \rput[l]([offset=-.1,nodesep=3.2]minradiusRight){\ParCol{FluidLineWidth}{1pt}{1.5pt}}
  \rput[l]([offset=.8,nodesep=3.2]minradiusRight){%
    \ParCol{FluidLineColor}{"black"}{"green!50!black"}}
  \psline{-&gt;}(-4.3,2.2)(-3.5,1)\rput(-4.3,2.6){\ParCol{FSphereLineWidth}{1pt}{0.1pt}}
  \rput(-4.3,3.4){\ParCol{FSphereLineColor}{"black"}{"magenta"}}
  \psline{-&gt;}(1.5,-2.25)(1.5,-1)\rput[t](1.5,-2.5){\ParCol{WallLineWidth}{1pt}{3pt}}
  \rput[t](1.5,-3.4){\ParCol{WallLineColor}{"black"}{"blue"}}
\end{pspicture}}
\end{document}
</pre></body></html>