# scottplot **Repository Path**: yoguu/scottplot ## Basic Information - **Project Name**: scottplot - **Description**: ScottPlot 是一个免费和开源的 .NET 绘图库,可以轻松地交互显示大型数据集 - **Primary Language**: C# - **License**: MIT - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/scottplot - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 35 - **Created**: 2022-02-11 - **Last Updated**: 2022-02-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ScottPlot [![Test ScottPlot v4](https://github.com/ScottPlot/ScottPlot/actions/workflows/ci-ScottPlot-v4.yaml/badge.svg)](https://github.com/ScottPlot/ScottPlot/actions/workflows/ci-ScottPlot-v4.yaml) [![](https://img.shields.io/nuget/dt/scottplot?color=004880&label=downloads&logo=NuGet)](https://www.nuget.org/packages/ScottPlot/) [![](https://img.shields.io/nuget/vpre/scottplot?color=%23004880&label=NuGet&logo=nuget)](https://www.nuget.org/packages/ScottPlot/) [![GitHub](https://img.shields.io/github/license/scottplot/scottplot?color=%231281c0)](LICENSE) **ScottPlot is a free and open-source plotting library for .NET** that makes it easy to interactively display large datasets. The [**ScottPlot Cookbook**](https://scottplot.net/cookbook) demonstrates how to create line plots, bar charts, pie graphs, scatter plots, and more with just a few lines of code. * **[ScottPlot Cookbook](https://scottplot.net/cookbook)** 👈 _Learn how to use ScottPlot_ * **[ScottPlot Demo](https://scottplot.net/demo/)** 👈 _See what ScottPlot can do_ * **Quickstart:** [**WinForms**](https://scottplot.net/quickstart/winforms/), [**WPF**](https://scottplot.net/quickstart/wpf/), [**Avalonia**](https://scottplot.net/quickstart/avalonia/), [**Console**](https://scottplot.net/quickstart/console/)
### Questions and Feedback * **Ask questions** in [Discussions](https://github.com/ScottPlot/ScottPlot/discussions/categories/q-a), [Issues](https://github.com/ScottPlot/ScottPlot/issues), or [on StackOverflow]((https://stackoverflow.com/questions/ask?tags=scottplot)) * [**Create an issue**](https://github.com/ScottPlot/ScottPlot/issues) for a feature suggestion or bug report * If you enjoy ScottPlot **give us a star!** ⭐ ### Quickstart **Windows Forms:** Use NuGet to install [`ScottPlot.WinForms`](https://www.nuget.org/packages/ScottPlot.WinForms), drag/drop a `FormsPlot` onto your form, then add the following to your start-up sequence: ```cs double[] xs = new double[] {1, 2, 3, 4, 5}; double[] ys = new double[] {1, 4, 9, 16, 25}; formsPlot1.Plot.AddScatter(xs, ys); ``` ![](dev/graphics/winforms-quickstart.png) **More Quickstarts:** * [**Console Application** Quickstart](https://scottplot.net/quickstart/console/) * [**Windows Forms** Quickstart](https://scottplot.net/quickstart/winforms/) * [**WPF** Quickstart](https://scottplot.net/quickstart/wpf/) * [**Avalonia** Quickstart](https://scottplot.net/quickstart/avalonia/) ### Plot in the Cloud with ScottPlot **This figure is an example of ScottPlot running in the cloud.** Every hour an [Azure Function](https://azure.microsoft.com/en-us/services/functions/) hits the [GitHub API](https://docs.github.com/en/rest) to get an updated list of stargazers, then uses ScottPlot to create a figure from this data and saves it to web-accessible blob storage. Since this automatically-generated plot is just a static image accessible by a URL, it can be displayed in places where JavaScript is not permitted (like in this readme file). Creating plots as images on a server allows dynamic plots to be displayed in many interesting places!

**Try it out!** Give us a star and come back in an hour and your name will appear [here](https://stargraph.z20.web.core.windows.net/scottplot-stars.png) ### Developer Notes * **Minimum Supported Platforms:** .NET Core 2.0 and .NET Framework 4.6.1 ([see details](https://swharden.com/scottplot/#supported-platforms)) * **Active development is focused on** topics listed in the pinned _Triaged Tasks and Features_ [issues](https://github.com/ScottPlot/ScottPlot/issues). * **Contributions are welcome!** See [contributing.md](CONTRIBUTING.md) to get started ### About ScottPlot ScottPlot was created by [Scott W Harden](https://swharden.com/about/) (with many contributions from the open-source community) and is provided under the permissive [MIT license](LICENSE).