Plots Driven by Two Variables
Two uservariables driving two psplots at once — drag in the plane and watch both curves respond.
This diagram is interactive — use your mouse or touch to play with it.
Rendering LaTeX…
Source
\begin{pspicture}(-4,-3)(4,3)
\uservariable{alpha}(0,0){x}
\uservariable{beta}(0,0){y}
\psplot[algebraic,linewidth=2pt,fillstyle=solid, fillcolor=lightblue]{alpha-3}{alpha}{beta + sin(x)}
\psplot[algebraic,linewidth=2pt]{-4}{4}{beta + sin(x)}
\psline{->}(-4,0)(4,0)
\end{pspicture}