Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a
limits_from_pv
property to the image widget that sets the axis min/max to reflect the pixel coordinates with origin in the upper left corner.With PVA, the image size is taken from the PV. With Channel Access, the
data_width
anddata_height
properties are used.To remain compatible with existing displays, the default is
limits_from_pv=false
.As before, that allows setting the
x_axis.minimum
,y_axis.maximum
etc. either manually or from scripts and rules.For scripts or rules that want to use the pixel dimensions, a new pair of
imageWidth(VImage)
andimageHeight(VImage)
formula functions have been added.