fullseye

annotate_scale_bar — ANNOTATE paper op

使い方

画像(image2d)を返す: 隅に置く切りのよい長さのスケールバー(値と単位つき)。

:func:scale_bar は長さを呼び手が決めるのに対し、こちらは画素分解能から 長さを選ぶ(:func:annotate_scale_bar_layout)。上隅では文字をバーの下に、 下隅では上に置く。

Raises

ValueError :func:annotate_scale_bar_layout と同じ + 文字が画像に収まらない。

詳しい使い方ガイド

背景知識ガイド(この op の手前にある物理・規約)

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(image2d を入力に取れる)

text_box · arrow · leader_line · label_points · crosshair · legend_box · color_bar · scale_bar

同カテゴリ(paper)

annotate_leader_layout · annotate_leader · annotate_markers · annotate_legend · annotate_dimension_layout · annotate_dimension · annotate_angle_layout · annotate_angle


Provenance: annotate.py — ANNOTATE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.