Title: Some like it hot
Image size: 5 2
False color
- X range: 0 4
- X range: 0 1
+ X range: 0 4 (6 steps)
+ Y range: 0 1 (3 steps)
Z range: 0.0 9.0
>>> img = o.read()
>>> img.startswith('\\x89PNG')
Z_min = numpy.min(Z.flat)
Z_max = numpy.max(Z.flat)
- print 'X range: ', X[0,0], X[0,-2]
- print 'X range: ', Y[0,0], Y[-2,0]
+ print 'X range: {} {} ({} steps)'.format(
+ X[0,0], X[0,-2], X.shape[1])
+ print 'Y range: {} {} ({} steps)'.format(
+ Y[0,0], Y[-2,0], Y.shape[0])
print 'Z range: ', Z_min, Z_max
fig = plot(X, Y, Z, full=options.full, title=options.title,