JuliaGraphics / Winston.jl

2D plotting for Julia
MIT License
171 stars 55 forks source link

Contour plot #72

Open lindahua opened 11 years ago

lindahua commented 11 years ago

It is useful to have a contour plotting function, one that similar to MATLAB's.

nolta commented 11 years ago

Thanks to @jverzani, basic contour plotting now works:

f(x,y) = sin(x)*sin(y)
x = linspace(-pi, pi, 50);
y = linspace(-pi, pi, 50);
c = Winston.contourc(f, x, y);
plot(c) |> Winston.tk