Answer the question
In order to leave comments, you need to log in
How to turn a hand-drawn line into a beautiful graph?
For my diploma, I want to make a component (if it doesn’t work out, then figs with it :), which, when drawing a line (I use WPF InkCanvas), would turn this line into a graph. Well, that is straightened harder. Not strong in math so don't know what I need to use for this. There is a set of points as input. What can be applied?
Answer the question
In order to leave comments, you need to log in
Splines, such as cubic, Bezier curves A
lecture on interpolation
Different types of interpolation work a little differently, so it's best to look at several options and choose the one that suits.
Some of the math is already built into the rendering methods, for example, there are methods for creating Bezier curves.
You can start digging examples from here: A practical guide. Creating a Bezier Curve...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question