2016-03-26 00:47:20 +01:00
# Plot Image
2016-04-02 01:22:47 +02:00
The plot image function.
2016-03-26 00:47:20 +01:00
2016-04-13 17:27:45 +02:00
Display an [Image ](/reference/image/image ) on the BBC micro:bit's [LED screen ](/device/screen )
2016-03-26 00:47:20 +01:00
### KindScript
```
export function plotImage(_this: micro_bit.Image, xOffset: number)
```
### Parameters
2016-04-13 17:27:45 +02:00
* x offset - [Number ](/reference/types/number ); the horizontal starting point of an image; use 0 for the first frame of the image, 5 for the second frame of the image, 10 for the third frame and so on.
2016-03-26 00:47:20 +01:00
### Difference from `show image`
The `show image` function has a built in delay of 400ms after display of the image, whereas `plot image` has no built-in delay.
### Example
```
let img = images.createImage(`
# . . . # # . . . #
. # . # . . # # # .
. . # . . . # # # .
. # . # . . # # # .
# . . . # # . . . #
`)
img.plotImage(0)
```
### Lessons
2016-04-13 17:27:45 +02:00
[smiley ](/lessons/smiley ), [flashing heart ](/lessons/flashing-heart ), [magic logo ](/lessons/magic-logo )
2016-03-26 00:47:20 +01:00
### See also
2016-04-13 17:27:45 +02:00
[create image ](/reference/images/create-image ), [show animation ](/reference/basic/show-animation ), [image ](/reference/image/image ), [show image ](/reference/images/show-image ), [scroll image ](/reference/images/scroll-image )
2016-03-26 00:47:20 +01:00