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.

ω
-3 -2 -1 1 2 3 -5.0 -2.5 2.5 5.0

Complete code for this example:


 
 

Examples Page