plot.AmigaBasicShape | R Documentation |
Plot AmigaFFH objects using base
plotting routines.
## S3 method for class 'AmigaBasicShape'
plot(x, y, ...)
## S3 method for class 'AmigaBitmapFont'
plot(x, y, ...)
## S3 method for class 'AmigaBitmapFontSet'
plot(x, y, ...)
## S3 method for class 'hardwareSprite'
plot(x, y, ...)
## S3 method for class 'IFFChunk'
plot(x, y, ...)
## S3 method for class 'IFF.FORM'
plot(x, y, ...)
## S3 method for class 'IFF.8SVX'
plot(x, y, ...)
## S3 method for class 'IFF.ILBM'
plot(x, y, ...)
## S3 method for class 'IFF.ANIM'
plot(x, y, ...)
## S3 method for class 'SysConfig'
plot(x, y, ...)
## S3 method for class 'AmigaIcon'
plot(x, y, asp = 2, ...)
x |
An AmigaFFH object to be plotted. See usage section for supported object
classes. If |
y |
When When When |
... |
Parameters passed onto the generic When |
asp |
A When A custom aspect ratio can also be used and will override the ratios specified above. |
A plotting routine is implemented for most AmigaFFH objects. See the usage section for all supported objects.
Returns NULL
silently.
Pepijn de Vries
## Not run:
## load an IFF file
example.iff <- read.iff(system.file("ilbm8lores.iff", package = "AmigaFFH"))
## and plot it:
plot(example.iff)
## AmigaIcons can also be plotted:
plot(simpleAmigaIcon())
## As can the cursor from a SysConfig object:
plot(simpleSysConfig())
## As can Amiga fonts:
data(font_example)
plot(font_example)
plot(font_example, text = "foo bar", style = "underlined", interpolate = F)
## As can AmigaBasicShapes:
ball <- read.AmigaBasicShape(system.file("ball.shp", package = "AmigaFFH"))
plot(ball)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.