mpl_toolkits.axisartist.angle_helper.FormatterDMS#

class mpl_toolkits.axisartist.angle_helper.FormatterDMS[源代码][源代码]#

基类:object

__call__(direction, factor, values)[源代码][源代码]#

作为函数调用自身。

deg_mark = '^{\\circ}'#
fmt_d = '$%d^{\\circ}$'#
fmt_d_m = '$%s%d^{\\circ}\\,%02d^{\\prime}$'#
fmt_d_m_partial = '$%s%d^{\\circ}\\,%02d^{\\prime}\\,'#
fmt_d_ms = '$%s%d^{\\circ}\\,%02d.%s^{\\prime}$'#
fmt_ds = '$%d.%s^{\\circ}$'#
fmt_s_partial = '%02d^{\\prime\\prime}$'#
fmt_ss_partial = '%02d.%s^{\\prime\\prime}$'#
min_mark = '^{\\prime}'#
sec_mark = '^{\\prime\\prime}'#

使用 mpl_toolkits.axisartist.angle_helper.FormatterDMS 的示例#

轴方向演示

axis_direction demo

曲线网格演示

Curvilinear grid demo

floating_axes 功能

floating_axes features

floating_axis 演示

floating_axis demo

简单轴垫

Simple axis pad