Label size: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Added info that automatic scaling works with draw but not with ray command.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
Sets how large the labels are rendered. | Sets how large the labels are rendered. You can use positive numbers 2, 3, 4, etc for point sizes, or negative numbers for Angstrom-based sizes. Default is 14 points. Labels in Angstrom-size scale with the distance from the front plane, labels in point-size don't. This automatic scaling works with the [[draw]] command but not with the [[ray]] command. | ||
== Syntax == | == Syntax == | ||
<source lang="python"> | <source lang="python"> | ||
set label_size, 10 | # set the label size to 10pt | ||
set label_size, 10 | |||
# set the label size to 1.5 Ang. -- large! | |||
set label_size, -1.5 | |||
</source> | </source> | ||
[[Category:Settings|Label size]] | |||
[[Category:Labeling|Label size]] |
Latest revision as of 15:21, 21 August 2023
Overview
Sets how large the labels are rendered. You can use positive numbers 2, 3, 4, etc for point sizes, or negative numbers for Angstrom-based sizes. Default is 14 points. Labels in Angstrom-size scale with the distance from the front plane, labels in point-size don't. This automatic scaling works with the draw command but not with the ray command.
Syntax
# set the label size to 10pt
set label_size, 10
# set the label size to 1.5 Ang. -- large!
set label_size, -1.5