LoginSignup
0
0

More than 3 years have passed since last update.

【24_集合場所問題】コマ大数学科

Posted at

【24_集合場所問題】コマ大数学科

image.png


\begin{tikzpicture}
    % 碁盤の目(格子状)を描く
    \foreach \x in {0,1,...,8}
    {
      \draw (\x,0)--(\x,8);
      \draw (0,\x)--(8,\x);
      \node at (\x,0)[below]{\x};
      \node at (0,\x)[left]{\x};
    }
    % それぞれの位置を定義
    \filldraw [fill=cyan] (1,2.5) circle (0.1) node [right]{1人};
    \filldraw [fill=red] (3,7.5) circle (0.1) node [right]{5人};
    \filldraw [fill=green] (5,3.5) circle (0.1) node [right]{2人};
    \filldraw [fill=green] (6,5.5) circle (0.1) node [right]{2人};
    \filldraw [fill=yellow] (7,1.5) circle (0.1) node [right]{3人};
  \end{tikzpicture}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0