Skip to content
Plotly templates

Physics — Newton's Law of Cooling

Temperature decays exponentially toward ambient.

Template previewPlotly
Rendering…

Make it your own.

{
  "data": [
    {"type":"scatter","mode":"lines","name":"Temperature","line":{"color":"#dc2626","width":3},
     "x":[0,2,4,6,8,10,12,14,16,18,20],
     "y":[90,68,52,41,33,28,24,22,21,20.5,20]}
  ],
  "layout": {"title":"Newton's law of cooling","xaxis":{"title":"time (min)"},"yaxis":{"title":"temperature (C)"}}
}