Skip to content
Plotly templates

Physics — Plot: Magnetic Hysteresis

A B–H hysteresis loop for a ferromagnet.

Template previewPlotly
Rendering…

Make it your own.

{
  "data": [
    {"type":"scatter","mode":"lines","name":"B-H loop","line":{"color":"#dc2626","width":3},
     "x":[-5,-3,-1,0,1,3,5,3,1,0,-1,-3,-5],
     "y":[-1,-0.95,-0.8,-0.6,0.8,0.95,1,0.9,0.6,0.4,-0.8,-0.9,-1]}
  ],
  "layout": {"title":"Magnetic hysteresis (B-H loop)","xaxis":{"title":"H (field strength)"},"yaxis":{"title":"B (flux density)"}}
}