From: Gary R. <gr...@bi...> - 2007-12-22 02:31:55
|
Beautiful! Many thanks John. Gary R. John Hunter wrote: <snip> > You can manually turn off autoscaling on the axes instance with the > following, and both scatter and plot should then work as you want. > > ax1 = subplot(121) > axis('off') > ax1.imshow(rand(20,20)) > ax2 = subplot(122) > axis('off') > ax2.imshow(rand(20,20)) > > ax1.set_autoscale_on(False) > #ax1.scatter([5,10],[5,10]) # note 2 > ax1.plot([5,10],[5,10], 'o') # note 3 > show() |