# Annotations at different frames of animation in R

**URL:** https://community.plotly.com/t/annotations-at-different-frames-of-animation-in-r/46641
**Category:** Plotly R
**Created:** [October 29, 2020, 1:41pm UTC](https://community.plotly.com/t/annotations-at-different-frames-of-animation-in-r/46641 "2020-10-29T13:41:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![vgelis](https://avatars.discourse-cdn.com/v4/letter/v/97f17d/32.png) [@vgelis](https://community.plotly.com/u/vgelis)
#### Post date: [October 29, 2020, 1:41pm UTC](https://community.plotly.com/t/annotations-at-different-frames-of-animation-in-r/46641/1 "2020-10-29T13:41:19Z")

</div>

Hello,

I want to add annotations at each different frame of my animation. Can you please help?

I have a figure which has different frames per date but I don’t know how to do add animations at each frame:

fig \<- plot\_ly(dt, x = x, y = y, colors=colorMap,  
type=‘scatter’,mode=‘markers+text’,  
marker = list(symbol=‘circle’,sizemode=‘diameter’),  
text=~text, **frame=~dates** )

fig \<- fig %\>% add\_annotations(  
x=0.5,  
y=1,  
text = paste(“Frame:”, **frame** )  
)

Thanks,  
E

---

<div class="post-metadata">

### Author: ![vgelis](https://avatars.discourse-cdn.com/v4/letter/v/97f17d/32.png) [@vgelis](https://community.plotly.com/u/vgelis)
#### Post date: [November 17, 2020, 7:34pm UTC](https://community.plotly.com/t/annotations-at-different-frames-of-animation-in-r/46641/2 "2020-11-17T19:34:20Z")

</div>

Hello, do you have any updates on this? 🙂
