# Plot image in memory how to get at a pixel on a line

**URL:** https://discourse.julialang.org/t/plot-image-in-memory-how-to-get-at-a-pixel-on-a-line/81312
**Category:** General Usage
**Tags:** plotting, memory
**Created:** [May 19, 2022, 3:23pm UTC](https://discourse.julialang.org/t/plot-image-in-memory-how-to-get-at-a-pixel-on-a-line/81312 "2022-05-19T15:23:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![anon69491625](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@anon69491625](https://discourse.julialang.org/u/anon69491625)
#### Post date: [May 19, 2022, 3:23pm UTC](https://discourse.julialang.org/t/plot-image-in-memory-how-to-get-at-a-pixel-on-a-line/81312/1 "2022-05-19T15:23:09Z")

</div>

hi all

I am thinking about how to access a memory location that represents a pixel on an image.

So in the image below the first pixel of the first line or the first pixel of the 2nd row line.

 ![5 19 22 4 x 5](https://global.discourse-cdn.com/julialang/original/3X/f/6/f6f454593c145f323ed85155a63261dff9b923dc.png)

I’d like to keep it simple thus just use standard julia.

---

<div class="post-metadata">

### Author: ![anon69491625](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@anon69491625](https://discourse.julialang.org/u/anon69491625)
#### Post date: [May 21, 2022, 6:07pm UTC](https://discourse.julialang.org/t/plot-image-in-memory-how-to-get-at-a-pixel-on-a-line/81312/2 "2022-05-21T18:07:42Z")

</div>

as always I didn’t RTFM!!! sorry

[https://juliaimages.org/latest/tutorials/arrays\_colors/](https://juliaimages.org/latest/tutorials/arrays_colors/)
