Question

I heard today that Maxima can do the country plot by contour_plot in Sage. I tried the following unsuccessfully to import Maxima:

from Maxima import contour_plot

I would like to make a similar map as here.

Was it helpful?

Solution

You probably mean a contour plot. Get a quick start and paste this code to your Sage Notobook:

f = lambda x,y: cos(x*y)

contour_plot(f, (-100, 4), (-4, 4))

More examples:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top