Combining Plots

Description

Here is Sage cell that combines the plots $\sin x$ and $\cos x$ for $-10 \leq x \leq 10$. The plot for $\cos x$ is given in red.

Options

p = plot(sin(x),-10,10)
p += plot(cos(x),-10,10, color="red")
p


Tags

Primary Tags: two-dimensional plots, college algebra, precalculus

Secondary Tags:

Attribute

Author: T. Judson