File:Hausdorff property in metric spaces.svg: Difference between revisions
Appearance
Uploaded own work with UploadWizard Tag: Upload Wizard |
No edit summary |
||
| Line 11: | Line 11: | ||
=={{int:license-header}}== | =={{int:license-header}}== | ||
{{self|cc-by-sa-4.0}} | {{self|cc-by-sa-4.0}} | ||
==Source== | |||
{{Created with TeX}} | |||
<syntaxhighlight lang="latex"> | |||
\documentclass[tikz,border=8pt]{standalone} | |||
\usetikzlibrary{calc} | |||
\usepackage{amsmath} | |||
\begin{document} | |||
\begin{tikzpicture}[scale=1.3] | |||
% Radius of the open balls | |||
\def\r{1.5} | |||
\coordinate (x) at (0,0); | |||
% The angle between the two open balls | |||
\def\ang{20} | |||
\coordinate (y) at ({2*\r*cos(\ang)}, {2*\r*sin(\ang)}); | |||
\draw[fill=blue!25!cyan, opacity=0.2, dashed, thick] (x) circle (\r); | |||
\draw[fill=blue!25!cyan, opacity=0.2, dashed, thick] (y) circle (\r); | |||
\fill (x) circle (2pt); | |||
\fill (y) circle (2pt); | |||
\node[below left] at (x) {$x$}; | |||
\node[above right] at (y) {$y$}; | |||
% Radius with label | |||
\draw[black, dashed, thick] | |||
(x) -- ({\r*cos(\ang)}, {\r*sin(\ang)}) | |||
node[midway, above, sloped] {\footnotesize $r=\dfrac{d(x,y)}{2}$}; | |||
\end{tikzpicture} | |||
\end{document} | |||
</syntaxhighlight> | |||
Latest revision as of 18:36, 28 March 2026
Summary
Licensing
Source
This media was created with TeX.
\documentclass[tikz,border=8pt]{standalone}
\usetikzlibrary{calc}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}[scale=1.3]
% Radius of the open balls
\def\r{1.5}
\coordinate (x) at (0,0);
% The angle between the two open balls
\def\ang{20}
\coordinate (y) at ({2*\r*cos(\ang)}, {2*\r*sin(\ang)});
\draw[fill=blue!25!cyan, opacity=0.2, dashed, thick] (x) circle (\r);
\draw[fill=blue!25!cyan, opacity=0.2, dashed, thick] (y) circle (\r);
\fill (x) circle (2pt);
\fill (y) circle (2pt);
\node[below left] at (x) {$x$};
\node[above right] at (y) {$y$};
% Radius with label
\draw[black, dashed, thick]
(x) -- ({\r*cos(\ang)}, {\r*sin(\ang)})
node[midway, above, sloped] {\footnotesize $r=\dfrac{d(x,y)}{2}$};
\end{tikzpicture}
\end{document}File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 18:25, 28 March 2026 | 308 × 220 (18 KB) | InfernalAtom683 (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage
There are no pages that use this file.