image.x3p: Raster image of an x3p surface

View source: R/image_x3p.R

image.x3pR Documentation

Raster image of an x3p surface

Description

image.x3p expands the generic image method for x3p objects. This image function creates a raster image to show the surface of an x3p file. Due to some inconsistency in the mapping of the origin (0,0), (choice between top left or bottom left) image functions from different packages will result in different images.

Usage

## S3 method for class 'x3p'
image(x, ...)

Arguments

x

an x3p object

...

parameters passed into image

Examples

logo <- x3p_read(system.file("csafe-logo.x3p", package="x3ptools"))
image(logo)

x3ptools documentation built on May 29, 2024, 10:33 a.m.