2

This question already has an answer here:

I use the following code to fill a specific area with dots. Can the dots positions be randomized, and can the dots size be altered.

    \documentclass{beamer}
\beamertemplatenavigationsymbolsempty
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{tkz-fct}
\begin{document}
\begin{frame}[fragile,t]
\frametitle{}
\begin{tikzpicture}[scale=.9, transform shape]
\fill[pattern=dots,pattern color = blue] (1.,.46) -- ++ (4.,1.66) -- ++ (-.6,.8) -- ++ (-3.68,-1.84) -- cycle;
\end{tikzpicture}
\end{frame}
\end{document}

enter image description here

marked as duplicate by user36296, Stefan Pinnow, Stephen, TeXnician, CarLaTeX Sep 3 '18 at 9:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.