function animPlot(){
plotly.animate(
graph_loc,
{
data: [{x: data.b.x,
y: data.b.y,
marker: {size: 10, color: 'blue'}
}
]
},
{
transition: {
duration: 3000
},
frame: {
duration: 4000
}
}
)
plotly.animate(
graph_loc,
{
data: [{x: data.l.x,
y: data.l.y,
marker: {size: 10, color: 'blue'}
}
]
},
{
transition: {
duration: 3000
},
frame: {
duration: 4000
}
}
)
plotly.animate(
graph_loc,
{
data: [{x: data.u.x,
y: data.u.y,
marker: {size: 10, color: 'blue'}
}
]
},
{
transition: {
duration: 3000
},
frame: {
duration: 4000
}
}
)
plotly.animate(
graph_loc,
{
data: [{x: data.e.x,
y: data.e.y,
marker: {size: 10, color: 'blue'}
}
]
},
{
transition: {
duration: 3000
},
frame: {
duration: 4000
}
}
)
}