A tangent and its cotangent with frequency controlled by a slider. Minimum and maximum vertical values are set manually to improve the appearance of the plot.
Complete code for this example:
Examples Page