How do I plot the following multi case function in wolfram or geogebra?
$ \begin{eqnarray*} f(x) = \begin{cases} 1, &\text{if }x \text{ is an integer}, \\ 0, &\text{if }x \text{ is not an integer}. \end{cases} \end{eqnarray*} $
The graph would be dots and underscores?