Skip to content

Repository files navigation

PythonPlotter

Library for using matplotlib from .NET programs (e.g. C#). Currently tested only on *nix platforms.

Python packages required: numpy, matplotlib, seaborn.

Example usage:

varx=Enumerable.Range(0,200).Select(ia =>(double)ia/100.0);vary=x.Select(ia =>Math.Sin(2.0*ia*Math.PI));Plotter.Plot(x,y,"Test figure","$x$",@"$\sin(2 \pi x)$");

line plot

varrandom=newRandom(0);vardata=Enumerable.Range(0,20).Select(
i =>Enumerable.Range(0,10).Select(
j =>random.NextDouble()-0.5).ToArray()).ToArray();varplotter=newPlotter{Series=newISeries[]{newHintonSeries{Values=data}},Title="Hinton diagram"};plotter.Plot();

hinton diagram

NUGET

Available on NuGet at: https://www.nuget.org/packages/PythonPlotter/

To install Python Plotter, run the following command in the Package Manager Console

PM> Install-Package PythonPlotter

About

Library for using matplotlib from .NET programs (e.g. C#). Currently tested only on *nix platforms

Topics

Resources

Stars

10 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages