This is a graph of the equation y = tan x. Dotted lines indicate discontinuities.
+-------------------------------------------------------------------------------------------------+
|                   #    .                       |                  #    .                        |  2.5
|                  #     .                       |                 #     .                        |
|                 ##     .                       |                ##     .                        |
|                 #      .                       |                #      .                        |  2.0
|                ##      .                       |               ##      .                        |
|                #       .                       |               #       .                        |
|               #        .                       |              #        .                        |  1.5
|              #         .                       |             #         .                        |
|             #          .                       |            #          .                        |
|            #           .                       |           #           .                        |  1.0
|          ##            .                       |         ##            .                        |
|         #              .                       |        #              .                        |
|       ##               .                       |      ##               .                        |  0.5
|    ###                 .                       |   ###                 .                        |
|  ##                    .                       | ##                    .                        |
|##---------------------------------------------###---------------------------------------------##|  0.0
|                        .                    ## |                       .                    ##  |
|                        .                 ###   |                       .                 ###    |
|                        .               ##      |                       .               ##       | -0.5
|                        .              #        |                       .              #         |
|                        .            ##         |                       .            ##          |
|                        .           #           |                       .           #            | -1.0
|                        .          #            |                       .          #             |
|                        .         #             |                       .         #              |
|                        .        #              |                       .        #               | -1.5
|                        .       #               |                       .       #                |
|                        .      ##               |                       .      ##                |
|                        .      #                |                       .      #                 | -2.0
|                        .     ##                |                       .     ##                 |
|                        .     #                 |                       .     #                  |
|                        .    #                  |                       .    #                   | -2.5
+-------------------------------------------------------------------------------------------------+
 A                       A                       A                       A                       A
-π                     -π/2                      0                      π/2                      π