The documentation example shows that we can create a contour plot with:
using CairoMakie
f = Figure(resolution = (800, 600))
Axis(f[1, 1])
xs = LinRange(0, 10, 100)
ys = LinRange(0, 15, 100)
zs = [cos(x) * sin(y) for x in xs, y in ys]
contour!(xs, ys, zs)
f
With the result:
However, this example is hard to interpret because there is no way of knowing the value each contour corresponds to. If we add a colorbar it is still not super easy as the continous colorbar confounds the discrete values.
Is it possible to draw more conventional contours with only one color and with the value labeled on top or next to the contour? (the color thing can be achieved by color=:black
Random example I found in the web: