public MainWindow() { InitializeComponent(); _plot1 = new MultiPlot(ImgPanel.Height, ImgPanel.Width / 2 - 10); _plot2 = new ManipulativeMultiPlot(ImgPanel.Height, ImgPanel.Width / 2 - 10); _plot1.Margin = new Thickness(0, 0, 10, 0); _plot2.Margin = new Thickness(0, 10, 0, 0); ImgPanel.Children.Add(_plot1); ImgPanel.Children.Add(_plot2); }