plot op• 数据种类:无 → axes(仅由参数决定的算子 —— 不接受图像或数据输入)
• 调用: import fullseye as fs; fs.ledger.axes_transform(rect, xlim, ylim, invert_y=True, xscale='linear', yscale='linear')(要直接调用实现,import annotate; annotate.axes_transform(rect, xlim, ylim, invert_y=True, xscale='linear', yscale='linear');从台账取用则 opsannotate.get("axes_transform"))
构建数据坐标 → 像素坐标的(闭式)映射。
把图像的事实 row 向下 与图表的惯例 y 向上 之间的偏差,只在这 1 处吸收。绘图代码随身携带这个字典。
px = x0 + (x - xmin)/(xmax - xmin) * (w - 1)
py = y0 + (h - 1) - (y - ymin)/(ymax - ymin) * (h - 1) # invert_y
rect : (x, y, w, h)
绘图区(以左上为基准,像素)。
xlim, ylim : (lo, hi)
数据范围。lo == hi 会使斜率为无穷大,所以抛出 ValueError。
也允许 lo > hi(反转轴) —— 用于上下颠倒地绘制深度或排名。
invert_y : bool
True(默认)时 ylim[0] 位于下端 = 普通的图表。
False 时为图像原本的方向(上端是 ylim[0])。
xscale, yscale : {'linear','log'}
'log' 为常用对数。范围内含 0 以下的值则 ValueError
(把 0 传给 log 轴、把 -inf 当作“端”来画的图是谎言)。
dict
{"rect", "xlim", "ylim", "invert_y", "xscale", "yscale"}。
ValueError
矩形不正确,范围非有限或宽度为零,w 或 h 小于 2,
未知的 scale,log 轴的范围含 0 以下。
• dataset_conventions — 训练数据集规范知识 —— COCO / YOLO / VOC 及外观检测中的陷阱
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• 算法的正典(作者、年份)与用途见上面的族使用指南。
• annotate_gallery — py -3.11 examples/annotate_gallery.py
• annotate_paper_tour — py -3.11 examples/annotate_paper_tour.py
• poc_beam_modal_video — py -3.11 examples/poc_beam_modal_video.py
• poc_camera_calibration — py -3.11 examples/poc_camera_calibration.py
• poc_camera_shake_deblur — py -3.11 examples/poc_camera_shake_deblur.py
• poc_crack_width_timeseries — py -3.11 examples/poc_crack_width_timeseries.py
• poc_dehazing — py -3.11 examples/poc_dehazing.py
• poc_dic_strain — py -3.11 examples/poc_dic_strain.py
• poc_driving_decisions — py -3.11 examples/poc_driving_decisions.py
• poc_driving_traffic — py -3.11 examples/poc_driving_traffic.py
• poc_focus_stacking — py -3.11 examples/poc_focus_stacking.py
• poc_interferometry_step — py -3.11 examples/poc_interferometry_step.py
• poc_measurement_system_analysis — py -3.11 examples/poc_measurement_system_analysis.py
• poc_motion_magnification — py -3.11 examples/poc_motion_magnification.py
• poc_panorama_drift — py -3.11 examples/poc_panorama_drift.py
• poc_particle_tracking — py -3.11 examples/poc_particle_tracking.py
• poc_photoelasticity — py -3.11 examples/poc_photoelasticity.py
• poc_pxrd_phase_peel — py -3.11 examples/poc_pxrd_phase_peel.py
• poc_registration_basin — py -3.11 examples/poc_registration_basin.py
• poc_river_surface_velocity — py -3.11 examples/poc_river_surface_velocity.py
• poc_strain_history — py -3.11 examples/poc_strain_history.py
• poc_structure_4d_deterioration — py -3.11 examples/poc_structure_4d_deterioration.py
• poc_superresolution_limits — py -3.11 examples/poc_superresolution_limits.py
• poc_template_tracking — py -3.11 examples/poc_template_tracking.py
• poc_timelapse_growth — py -3.11 examples/poc_timelapse_growth.py
• poc_wound_area_tracking — py -3.11 examples/poc_wound_area_tracking.py
• poc_xyt_event_surface — py -3.11 examples/poc_xyt_event_surface.py
axes 作为输入)data_to_pixel · axes_frame · grid_lines · ticks · plot_series
plot)data_to_pixel · nice_ticks · axes_frame · grid_lines · ticks · plot_series
*Provenance: annotate.py — ANNOTATE 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.