![](/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.