forked from jkbstepien/rustoscope
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem Statement
When displaying image data in plots (e.g., histograms, previews), the axis units (e.g., mm, μm, nm) should be automatically selected so that the axis values are easy to read and fall within a reasonable range. Currently, users must manually select units, which can lead to confusing or unreadable axis labels, especially for images with very large or very small dimensions.
Acceptance Criteria
- Axis values are always displayed in a readable range.
- The unit selection is automatic and does not require user input.
- The selected unit is clearly indicated in axis labels and tooltips.
- The function works for both width and height, and for images of any size.
Example
- For an image width of 0.05 mm, the function selects μm and displays axis values as 50 μm.
- For an image width of 120 mm, the function keeps mm and displays axis values as 120 mm.
- For an image width of 0.0002 mm, the function selects nm and displays axis values as 200 nm.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels