Commit 04adf14f authored by Taddeüs Kroes's avatar Taddeüs Kroes

improc ass4: Merged Fx and Fy plots.

parent 7cb2a9ff
......@@ -27,11 +27,9 @@ FFy = -B * W ** 2 * cos(W * YY)
# Plot F, Fx and Fy sample data next to each other
# Show FFx and FFy as a quiver plot over F
extent = (-100, 100) * 2
subplot(221)
subplot(121, title='First derivatives')
imshow(Fy * Fx, cmap='gray', extent=extent)
subplot(122, title='Second derivatives')
imshow(F, cmap='gray', extent=extent)
quiver(yy, xx, FFy, -FFx, color='red')
subplot(222)
imshow(Fx, cmap='gray', extent=extent)
subplot(223)
imshow(Fy, cmap='gray', extent=extent)
show()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment