ecl-logo Documentation

PlotCloudFile

PlotCloudFile[cloudFile]preview

creates an image or snippet of the file contents of cloudFile.

PlotCloudFile[cloudFiles]previews

creates a list of images or snippets of the file contents of cloudFiles.

Details

  • Measurement lines can be added using Ctrl+LeftClick.
  • Measurement points can be moved by RightClick+Dragging.
  • Measurement lines can be removed using Ctrl+RightClick.
  • If the file is not imported as a graphic, image, or string, the output will be Null.
  • Input
    Output
    Frame Options
    Image Format Options
    Plot Labeling Options
    Plot Style Options
    General Options

Examples

Basic Examples  (3)

Create a zoomable image of a cloud file that contains an image:

Create a zoomable image of the first page of a pdf file:

Create a snippet of a text file:

Additional Examples  (2)

Works on a list of files:

If a file type cannot be converted to an image or snippet, returns Null:

Options  (20)

AspectRatio  (1)

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

Background  (1)

The background style. For nontransparent images, the image needs to become transparent first for the background to be effective:

Epilog  (1)

Epilog can be any valid graphic primitive and is rendered after the main image:

ImageSize  (2)

Specify different image size for the final plots:

Specify the width and height for the final plot -- Note that the size of the background is changed rather than the image itself. Use AspectRatio is you would like to control the height-to-width ratio of the image:

MeasurementLabel  (1)

Remove measurement line labels -- they appear on mouseover:

MeasurementLines  (4)

Add a measurement line to the image. Use RightClick+Dragging to move the points:

Specify two measurement lines. Use Ctrl+LeftClick to add or Ctrl+RightClick to remove measurement lines:

Label measurement lines with distance:

Measurement line labels appear on mouseover:

PlotLabel  (1)

The title of the plot:

Prolog  (1)

Prolog can be any valid graphic primitive and is rendered before the main image, therefore only appearing if the image is transparent:

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. This can be found using Options[Import["address\of\the\file"],ImageResolution]:

TargetUnits  (3)

Specify distance unit for frame rulers. Note that the Scale needs to be specified together with the TargetUnits:

Display the side rulers in Inches and the top and bottom rulers in Centimeters. Note that the Scale needs to be specified together with the TargetUnits:

Specify a different distance unit for each frame ruler. Note that the Scale needs to be specified together with the TargetUnits: