Radon example: Style fixes.

This commit is contained in:
Jostein Bø Fløystad
2013-07-05 13:14:39 +02:00
parent e5dfcb0ab4
commit 1d611878a6
+3 -3
View File
@@ -67,9 +67,9 @@ plt.imshow(image, cmap=plt.cm.Greys_r)
theta = np.linspace(0., 180., max(image.shape), endpoint=True)
sinogram = radon(image, theta=theta, circle=True)
plt.subplot(122)
plt.title("Radon transform\n(Sinogram)");
plt.xlabel("Projection angle (deg)");
plt.ylabel("Projection position (pixels)");
plt.title("Radon transform\n(Sinogram)")
plt.xlabel("Projection angle (deg)")
plt.ylabel("Projection position (pixels)")
plt.imshow(sinogram, cmap=plt.cm.Greys_r,
extent=(0, 180, 0, sinogram.shape[0]), aspect='auto')