X-Git-Url: http://git.tremily.us/?p=parallel_computing.git;a=blobdiff_plain;f=src%2Fplot_image%2Fplot_image.py;fp=src%2Fplot_image%2Fplot_image.py;h=8510e8e940bb6699d610586a73a8a11021c5d805;hp=b387e6d0165e516633ea96598cf2b33dc4430733;hb=4fb57e9192fd12433751ce9e9efc1395f281cbb2;hpb=17600532f9541251cf554439a50cd92703d2cb25 diff --git a/src/plot_image/plot_image.py b/src/plot_image/plot_image.py index b387e6d..8510e8e 100755 --- a/src/plot_image/plot_image.py +++ b/src/plot_image/plot_image.py @@ -286,11 +286,11 @@ def main(argv=None): Z_min = numpy.min(Z.flat) Z_max = numpy.max(Z.flat) - print('X range: {} {} ({} steps)'.format( + print('X range: {0} {1} ({2} steps)'.format( X[0,0], X[0,-2], X.shape[1])) - print('Y range: {} {} ({} steps)'.format( + print('Y range: {0} {1} ({2} steps)'.format( Y[0,0], Y[-2,0], Y.shape[0])) - print('Z range: {} {}'.format(Z_min, Z_max)) + print('Z range: {0} {1}'.format(Z_min, Z_max)) fig = plot(X, Y, Z, full=options.full, title=options.title, contours=options.contours, interpolation=options.interpolation,