如何在.NET中做曲线 [英] how to do curves in .NET

查看:59
本文介绍了如何在.NET中做曲线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在使用WPF进行项目,我想绘制信号处理,空调的曲线...我想知道如何在.Net上进行而不在Matlab中进行操作?请帮助我

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

推荐答案

这里是概述: http://msdn.microsoft.com/en-us/library/ms747393.aspx [ ^ ].

这是您在WPF中需要了解的所有图形基元的全部信息. LineSegmentBezierSegmentArcSegment涵盖了您可能感兴趣的所有线条图:
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 [ ^ ].

如果需要通过一组实验2D点画一条线,则有很多数学方面的内容:是否需要使数据平滑(这样线就不会精确地穿过这些点)还是需要对它们进行插值?您需要了解所需的内容,具体取决于所需的内容.您需要了解实验数据处理的一些基础.

—SA
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


这篇关于如何在.NET中做曲线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆