raise Exception('no color map named %s in %s'
% (options.cmap, ', '.join(maps)))
- print 'Plot_image'
- print 'Title: ', options.title
+ print('Plot_image')
+ print('Title: {0}'.format(options.title))
if not options.xyz:
- print 'Image size: ', nx, ny
+ print('Image size: {0} {1}'.format(nx, ny))
if options.contours:
- print '# countour lines: ', options.contours
+ print('# countour lines: {0}'.format(options.contours))
else:
- print 'False color'
+ print('False color')
if options.input:
fin = open(options.input, 'r')
else: