ILNumerics绘制表面上具有(X,Y,Z)坐标 [英] ILNumerics Drawing a surface having (x,y,z) coordinates

查看:574
本文介绍了ILNumerics绘制表面上具有(X,Y,Z)坐标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的很新的与C#编程。我点以下形成一个阵列

I am really new in programming with C#. I have an Array of points in the following form

//包含点坐标的数组:

//An Array containing point coordinates:

双[,] graphData =新的双[100,3] //图形数据的每个元素包含一个坐标点的

double[,] graphData=new double[100,3]; //Each element of graph data contain coordinate of a point:

graphData [1;:] =(X1,Y1,Z1);

graphData[1;:]=(x1,y1,z1);

我想用ILNumerics画的表面。我找不到任何例子这种情况。你能帮我吗?

I wanna draw a surface using ILNumerics. I couldn't find any example for this case. Would you please help me?

推荐答案

张贴在接受的答案指向ILNumerics文档现在是过时的过时的部分的链接。从第3版,表面采用了新的场景图基于渲染API。

The link posted in the accepted answer points to an outdated part of the ILNumerics documentation which is obsolete now. Up from version 3, surfaces utilize a new scene graph based rendering API.

文档: http://ilnumerics.net/surface-plots.html

不过,张贴罗伊Dictus临客可能有助于解释如何将您​​的数据转化为矩阵形的数据,适用于表面渲染。

However, the linke posted by Roy Dictus may help in explaining how to turn your data into matrix shaped data, suitable for surface rendering.

基本上,表面创建基于的矩阵的形状的输入数据网格。它根据在输入矩阵中的位置连接进入的点。因此,而不是点列表,你必须提供:

Basically, surfaces create a mesh based on the matrix shaped input data. It connects the incoming points according to their location in the input matrix. So instead of a list of points you have to provide:

  • Z值的一个矩阵,如果高值的常规网格仅被渲染,或
  • 相同形状的矩阵Z,X和Y用于非正则网格和参数曲面的值。

这篇关于ILNumerics绘制表面上具有(X,Y,Z)坐标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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