That looks fine to me too, but if you plot that as one subplot in a 5x5 array
of subplots or more, then you can see the shift I am talking about in the
eps file. Example:
import matplotlib.pyplot as plt
import numpy as np
arr = np.zeros((11, 11), dtype=d)
arr[3,3]=1
plt.figure(1)
On Thu, Jul 29, 2010 at 1:17 AM, Jenna L. je...@astro.columbia.edu wrote:
That looks fine to me too, but if you plot that as one subplot in a 5x5 array
of subplots or more, then you can see the shift I am talking about in the
eps file. Example:
I still don't see it (a capture of my eps output
Hmm that is not what my output looks like. Attached is a capture of my
output. I am using matplotlib version 0.98.5.3
http://old.nabble.com/file/p29291928/shift_subplot_test.png
shift_subplot_test.png
Jae-Joon Lee wrote:
On Thu, Jul 29, 2010 at 1:17 AM, Jenna L.
I tried a simple array (see the code below) but cannot reproduce the
problem you reported.
import matplotlib.pyplot as plt
import numpy as np
arr = np.zeros((11, 11), dtype=d)
arr[3,3]=1
im = plt.imshow(arr, interpolation=nearest, origin=lower)
cont = plt.contour(arr, levels=[0.5])
On Wed, Jul 21, 2010 at 3:40 PM, Jenna Lemonias je...@astro.columbia.eduwrote:
I am trying to save a matplotlib 2d array image with an overlaid contour as
an eps file. The contour appears to be shifted with respect to the image
underneath in the eps file, particularly when I zoom in on the