#4784·ScottPlot

Multiplot weird behavior when adding and removing subplots

Author: fchesiCreated Feb 12, 2025Updated Aug 25, 2026

Multiplot subplot doesnt work anymore (no zooming and panning, Multiplot.GetPlotAtPixel doesnt work anymore) after dynamically remove it and afterward add a subplot at the same index again. I checked the DraggableRow class this should be all fine. The bug is probably in the SubplotCollection or in the Multiplot. You can reproduce this bug if you execute the MultiplotDraggable.cs demo and add a plot then delete a plot and then again add a plot. After this procedure the last subplot has this weird behavior.

ScottPlot Version: ScottPlot 5.0.54

I am using the codesnippet given in the demo file for draggable multiplots with arbitrary number of subplots,