# Outline cell of heatmap

**URL:** <https://discourse.julialang.org/t/outline-cell-of-heatmap/77758>\
**Category:** General Usage\
**Tags:** question, plot\
**Created:** [March 11, 2022, 3:54pm UTC](https://discourse.julialang.org/t/outline-cell-of-heatmap/77758 "2022-03-11T15:54:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![user\_231578](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/user_231578/32/24170_2.png) [@user\_231578](https://discourse.julialang.org/u/user_231578)\
**Post date:** [March 11, 2022, 3:54pm UTC](https://discourse.julialang.org/t/outline-cell-of-heatmap/77758/1 "2022-03-11T15:54:27Z")

</div>

Suppose I have a heatmap. For example

```julia
r = rand(1:10,5,5)
heatmap(r) 

```

I would like to outline one of its cells with a dashed red rectangle. Do you have any suggestion on how to achieve this? See an example below, where I manually replicated what I would like to obtain in Julia

![jl_Jqsy3Q copy](https://global.discourse-cdn.com/julialang/original/3X/5/c/5c1e03ae2d378d3009ca3f56b8c30ae5dfc4e5c2.png)
