本文整理汇总了Python中aplpy.FITSFigure.hide_xtick_labels方法的典型用法代码示例。如果您正苦于以下问题:Python FITSFigure.hide_xtick_labels方法的具体用法?Python FITSFigure.hide_xtick_labels怎么用?Python FITSFigure.hide_xtick_labels使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类aplpy.FITSFigure
的用法示例。
在下文中一共展示了FITSFigure.hide_xtick_labels方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: FITSFigure
# 需要导入模块: from aplpy import FITSFigure [as 别名]
# 或者: from aplpy.FITSFigure import hide_xtick_labels [as 别名]
hi_fig.hide_xaxis_label()
hi_fig.hide_yaxis_label()
hi_fig.hide_tick_labels()
hi_fig.set_title(r"HI")
hi_fig.set_nan_color("k")
hi_fig.show_regions("pvslices_finalfig.reg")
co21_fig = FITSFigure(co21_proj.hdu, subplot=(2, 3, 3), figure=fig)
co21_fig.show_grayscale()
co21_fig.hide_xaxis_label()
co21_fig.hide_yaxis_label()
co21_fig.hide_tick_labels()
co21_fig.set_title(r"CO(2-1)")
for path, pnum in zip(paths[4:7], [4, 5, 6]):
pv = extract_pv_slice(hi_cube, path)
pv_co21 = extract_pv_slice(co21_cube, path)
pv_fig = FITSFigure(pv, subplot=(2, 3, pnum), figure=fig)
pv_fig.show_grayscale()
pv_fig.show_contour(pv_co21, levels=np.arange(3 * co21_sigma, 20 * co21_sigma, 4 * co21_sigma), colors="g")
pv_fig.hide_xaxis_label()
pv_fig.hide_xtick_labels()
if pnum != 4:
pv_fig.hide_yaxis_label()
pv_fig.hide_ytick_labels()
p.tight_layout()
示例2: FITSFigure
# 需要导入模块: from aplpy import FITSFigure [as 别名]
# 或者: from aplpy.FITSFigure import hide_xtick_labels [as 别名]
'''
Show the moment 0 of the archival against the moment 0 from 14B-088
'''
fig = mpl.figure(figsize=(15, 7))
mom0_file = "/media/eric/MyRAID/M33/14B-088/HI/full_imaging/M33_14B-088_HI.clean.image.pbcov_gt_0.3_masked.mom0.fits"
f1 = FITSFigure(mom0_file, figure=fig, subplot=[0.1,0.1,0.35,0.8])
# f1.set_tick_labels_font(size='x-small')
# f1.set_axis_labels_font(size='small')
f1.show_grayscale()
f1.hide_xaxis_label()
f1.hide_xtick_labels()
f1.hide_yaxis_label()
f1.hide_ytick_labels()
mom0_archival_file = "/media/eric/Data_3/M33/VLA_Data/AT0206/imaging/M33_206_b_c_HI.mom0.fits"
f2 = FITSFigure(mom0_archival_file, figure=fig, subplot=[0.5,0.1,0.35,0.8])
# f2.set_tick_labels_font(size='x-small')
# f2.set_axis_labels_font(size='small')
f2.show_grayscale()
f2.hide_xaxis_label()
f2.hide_xtick_labels()
f2.hide_yaxis_label()