Skip to content
Plotly templates

Bode Plot — Low-Pass Filter

Magnitude (dB) and phase (deg) of a first-order RC low-pass filter.

Template previewPlotly
Rendering…

Make it your own.

{
  "data": [
    { "type":"scatter","mode":"lines","name":"|H| (dB)",
      "x":[0.1,0.3,1,3,10,30,100,300,1000],
      "y":[-0.04,-0.4,-3,-10,-20,-30,-40,-50,-60],
      "line":{"color":"#3666ff","width":3} },
    { "type":"scatter","mode":"lines","name":"phase (°)",
      "x":[0.1,0.3,1,3,10,30,100,300,1000],
      "y":[-5.7,-16.7,-45,-71.6,-84.3,-88.1,-89.4,-89.8,-90],
      "yaxis":"y2","line":{"color":"#dc2626","width":3,"dash":"dash"} }
  ],
  "layout":{
    "title":"Bode plot — first-order LPF (fc=1)",
    "xaxis":{"title":"f / fc (log)","type":"log"},
    "yaxis":{"title":"Magnitude (dB)","range":[-65,5]},
    "yaxis2":{"title":"Phase (°)","overlaying":"y","side":"right","range":[-100,10]}
  }
}