![](/img/trans.png)
[英]How to zoomed a portion of image and insert in the same plot in matplotlib
[英]How to embed a zoomed portion of a FITS image in the same plot with APLpy
您可以使用aplpy指定要绘制的图形。 然后,您可以将轴放入图中。
fig = plt.figure()
aplpyfig = aplpy.FITSFigure('tmp.fits', figure=fig)
axes = fig.get_axes()
从那时起,您可以使用该axes
并使用matplotlib提供的任何方法来获取插图。
另请参阅以下问题: Aplpy多图动态轴共享
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.