Click here to Skip to main content
15,908,111 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I am doing a project with WPF and I want to make the curves of signal processing, air conditioning ... and I want to know how to do it on .Net without doing it in Matlab ? Help me please
Posted
Comments
Herman<T>.Instance 11-Aug-11 4:02am    
http://www.yevol.com/en/vcsharp/applicationdesign/Lesson14.htm
Sergey Alexandrovich Kryukov 12-Aug-11 18:15pm    
There are many ways. It depends on two major factors: how do you need to interpolate/fit them and do you want to use System.Windows.Forms or WPF. What is it? What's your problem?
--SA
aida1986 13-Aug-11 3:28am    
I want to use WPF to doing curves for simulation , my problem is that i don't know any way to do it in WPF and i don't want to use matlab.If you u have solution please do not hesitate to help me

1 solution

Here is the overview: http://msdn.microsoft.com/en-us/library/ms747393.aspx[^].

This is all you need to know about graphics primitives in WPF. All drawing of lines you might be interested in is covered by LineSegment, BezierSegment, and ArcSegment:
http://msdn.microsoft.com/en-us/library/system.windows.media.linesegment.aspx[^],
http://msdn.microsoft.com/en-us/library/system.windows.media.beziersegment.aspx[^],
http://msdn.microsoft.com/en-us/library/system.windows.media.arcsegment.aspx[^].

If you need to draw a line through a set of experimental 2D points, there are many mathematical aspects: do you need to smooth the data (so the lines will not go exactly through the points) or do you need to interpolate them? You need to learn what you need, depending on what exactly you need. You need to know some basis of experimental data processing.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900