CoordinatesMap

class astropy.visualization.wcsaxes.CoordinatesMap(axes, transform=None, coord_meta=None, frame_class=<class 'astropy.visualization.wcsaxes.frame.RectangularFrame'>, previous_frame_path=None)[ソース]

ベースクラス: object

座標系の座標補助対象を表すコンテナ.

このオブジェクトは、リストのようなインデックスで、または辞書のような名前で座標ブースタにアクセスするために使用されてもよい。

パラメータ
axes : WCSAxesWCSAxes

座標地図が属する軸。

変換する.Transform オプションです。変換、オプション

データの変換。

coord_metaDICT、オプション

A dictionary providing additional metadata. This should include the keys type, wrap, and unit. Each of these should be a list with as many items as the dimension of the coordinate system. The type entries should be one of longitude, latitude, or scalar, the wrap entries should give, for the longitude, the angle at which the coordinate wraps (and None otherwise), and the unit should give the unit of the coordinates as Unit instances. This can optionally also include a format_unit entry giving the units to use for the tick labels (if not specified, this defaults to unit).

frame_classタイプ、オプション

フレームワークのクラスは BaseFrame それがそうです。デフォルトの場合、使用 RectangularFrame

previous_frame_pathPath オプションです。経路、オプション

軸のWCSを変更する際にはFrame事例が変更されるが,同じ下位matplotlibを再利用し続けることが望ましいかもしれない. Path この場合、このキーワードパラメータに渡すことができる。

方法要約

get_coord_range \()

grid \([draw_grid, grid_type] )

2つの座標の格子線を描く。

set_visible \(可視性)

方法文書

get_coord_range()[ソース]
grid(draw_grid=True, grid_type=None, **kwargs)[ソース]

2つの座標の格子線を描く。

標準matplotlib外観オプション(色、Alphaなど)キーワードパラメータとして渡すことができる.

パラメータ
draw_gridブルル.

グリッド線を表示するかどうか

grid_type{‘線’|‘輪郭’}

世界座標中の格子線を決定し、世界座標にそれらをプロットすることで等高線を描くかどうか ('lines' )または画像中の多くの位置の世界座標を決定し、等高線を描画することによって ('contours' )である。第1の方法は、2次元画像のために推奨され、3次元(またはより高い次元)の立方体については、 'contours' このオプションを使用することをお勧めします。デフォルトの場合,変換に逆があれば‘LINES’を用い,そうでなければ“輪郭”を用いる.

set_visible(visibility)[ソース]