ecl-logo Documentation

PlotImage

PlotImage[img]fig

creates a zoomable view of img with rulers around the frame.

PlotImage[{img ..}]fig

overlays each img in a single interactive figure.

PlotImage[dataObject]fig

displays the primary image associated with the data object.

Details

  • Measurement lines can be added using Ctrl+LeftClick (Cmd+LeftClick on Mac).
  • Measurement points can be moved by Ctrl+LeftClick+Dragging (Cmd+LeftClick+Dragging on Mac).
  • Measurement lines can be removed using Ctrl+RightClick (Cmd+RightClick on Mac).
  • Input
    Output
    Frame Options
    Image Format Options
    Plot Labeling Options
    Plot Style Options
    General Options

Examples

Basic Examples  (2)

Create a zoomable image with rulers around the frame:

Overlay several images:

Additional Examples  (6)

Input Types  (6)

Plot a raw image:

Plot a cloud file image:

Plot a gel image from Object[Data,PAGE]:

Plot a BrightField cell image from Object[Data,Microscope]:

Plot a tube image from Object[Data,Appearance]:

Plot an image from a Model[Container, Vessel] with scale bars, if applicable:

Options  (15)

AspectRatio  (1)

Specify the height-to-width ratio of the image:

ImageSize  (1)

Specify the image size:

MeasurementLabel  (1)

Measurement line labels appear only on mouseover, and are hidden otherwise:

MeasurementLines  (4)

Add a measurement line to the image. Use Ctrl+LeftClick+Dragging (Cmd+LeftClick+Dragging on Mac) to move the points:

Specify two measurement lines. Use Ctrl+LeftClick to add (Cmd+LeftClick on Mac) and Ctrl+RightClick to remove (Cmd+RightClick on Mac) measurement lines:

Label measurement lines with distance:

Measurement line labels appear on mouseover:

RulerPlacement  (2)

Place a ruler only on the left frame:

Place rulers on the top and right frames:

RulerType  (2)

Relative ruler type resets each ruler to start at zero during every zoom:

Absolute ruler type preserves the absolute positions in the image during zooming:

Scale  (1)

Specify the scale of the image in terms of pixels/distance:

TargetUnits  (3)

Specify distance unit for frame rulers:

Display the side rulers in Inches and the top and bottom rulers in Centimeters:

Specify a different distance unit for each frame ruler:

Messages  (1)

MixedMeasurementLineDimensions  (1)

Specifying MeasurementLine points with mixed dimensions throws an error: