WPF library for plotting one dimensional mathematical functions including control for interactive plot.
- Dynamic data plotting.
- Scaling and moving coordinate system.
- Bind UIElements to points in cartesian coordinate system.
Import WPF Plot namespace:
<Window xmlns:wpfplot="clr-namespace:WPFPlot.Controls;assembly=WPFPlot" />
Create GraphControl
and set PlotData
. Data context object must be instance of IPlotDataSource
.
<wpfplot:GraphControl SegmentBegin="-3.14" SegmentEnd="3.14">
<wpfplot:GraphItem StrokeBrush="Blue" PlotData="{Binding}" />
</wpfplot:GraphControl>
MIT License.