Skip to content
Plotly templates

Physics — Plot: Damped Oscillation

Exponentially decaying sinusoidal oscillation.

Template previewPlotly
Rendering…

Make it your own.

{
  "data": [
    {"type":"scatter","mode":"lines","name":"x(t)","line":{"color":"#6366f1","width":3},
     "x":[0,0.5,1,1.5,2,2.5,3,3.5,4,4.5,5],
     "y":[1,0.465,-0.308,-0.632,-0.359,0.134,0.391,0.264,-0.044,-0.236,-0.187]}
  ],
  "layout": {"title":"Damped oscillation","xaxis":{"title":"time (s)"},"yaxis":{"title":"displacement"}}
}