<RuntimeDirectory>\System.Xaml.dll <RuntimeDirectory>\WPF\WindowsBase.dll <RuntimeDirectory>\WPF\PresentationCore.dll <RuntimeDirectory>\WPF\PresentationFramework.dll System.Windows System.Windows.Controls System.Windows.Media OxyPlot OxyPlot.Wpf void Main() { var pm = new PlotModel("Sine curve"); pm.Series.Add(new FunctionSeries(Math.Sin,0,20,200)); pm.Show(); } public static class MyExtensions { public static void Show(this PlotModel model, double width = 800, double height = 500) { var w = new Window() { Title = "OxyPlot.Wpf.PlotView : " + model.Title, Width = width, Height = height }; var plot = new PlotView(); plot.Model = model; w.Content = plot; w.Show(); } } // You can also define non-static classes, enums, etc.