imagemap: Initialise an imagemap object

Description Usage Arguments Details Value Author(s) References Examples

Description

Initialise and close an imagemap object.

Usage

1
2
imagemap(filename, width = 480, height = 480, title="Imagemap from R")
imClose(im)

Arguments

filename

Root of filename for map and graphic file

width

Width of graphic file in pixels

height

Height of graphic file in pixels

title

Text for HTML title - not the plot title

im

An imagemap object

Details

imagemap initialises a PNG graphics output device and returns an empty imagemap object to which clickable areas can be added. The imClose function must be called when all drawing is done in order to close the underlying PNG device.

Value

An object of class imagemap.

Author(s)

Barry Rowlingson <B.Rowlingson@lancaster.ac.uk>

References

http://www.maths.lancs.ac.uk/Software/Imagemap/

Examples

1
im <- imagemap("Test1",width=800,height=800)

imagemap documentation built on May 2, 2019, 4:27 p.m.