plotting in two dimensions A #plot showing how to #plot a plot. x = var('x') y = 21+x z = 6 * y + x plot(x * sin(x+y+z), (x, -10, 10)) Source