本文簡要介紹 python 語言中 matplotlib.transforms.Affine2DBase
的用法。
-
基礎:
AffineBase
所有二維仿射變換的基類。
使用 3x3 numpy 數組執行 2D 仿射變換:
a c e b d f 0 0 1
該類提供隻讀接口。對於可變 2D 仿射變換,請使用
Affine2D
。此類的子類通常隻需要覆蓋生成自定義 3x3 矩陣的構造函數和
get_matrix
。- 參數:
- shorthand_name str
-
表示轉換的"name" 的字符串。該名稱除了在 DEBUG=True 時提高
str(transform)
的可讀性之外沒有任何意義。
用法
class matplotlib.transforms.Affine2DBase(*args, **kwargs)
相關用法
- Python matplotlib Affine2D.set_matrix用法及代碼示例
- Python matplotlib Affine2D.__init__用法及代碼示例
- Python matplotlib Affine2D用法及代碼示例
- Python matplotlib Affine2D.from_values用法及代碼示例
- Python matplotlib Affine2D.get_matrix用法及代碼示例
- Python matplotlib Axes.get_legend_handles_labels用法及代碼示例
- Python matplotlib AbstractMovieWriter用法及代碼示例
- Python matplotlib Axes.hist用法及代碼示例
- Python matplotlib Axes.step用法及代碼示例
- Python matplotlib Axes.contour用法及代碼示例
- Python matplotlib Axes.plot用法及代碼示例
- Python matplotlib Axes.semilogx用法及代碼示例
- Python matplotlib Axes.semilogy用法及代碼示例
- Python matplotlib Axes.inset_axes用法及代碼示例
- Python matplotlib Axes.axis用法及代碼示例
- Python matplotlib AutoDateFormatter用法及代碼示例
- Python matplotlib Axes.barbs用法及代碼示例
- Python matplotlib AnchoredDrawingArea用法及代碼示例
- Python matplotlib Axes.tripcolor用法及代碼示例
- Python matplotlib AsteriskPolygonCollection用法及代碼示例
- Python matplotlib AxisArtist.toggle用法及代碼示例
- Python matplotlib Axis.get_tick_params用法及代碼示例
- Python matplotlib Axes.set_prop_cycle用法及代碼示例
- Python matplotlib ArrowStyle用法及代碼示例
- Python matplotlib Axes.axline用法及代碼示例
注:本文由純淨天空篩選整理自skytowner.com大神的英文原創作品 matplotlib.transforms.Affine2DBase。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。