如何在ILNumerics中反转轴

编程入门 行业动态 更新时间:2024-10-09 15:23:57
本文介绍了如何在ILNumerics中反转轴的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想在ILLinePlot中从上到下颠倒Y轴(从下降变为升序)。我的结果是这样的: 这里是代码:

scene.Add(new ILPlotCube { new ILLinePlot(ILMath.tosingle(ZDistance [1,0; ]), markerStyle:MarkerStyle.Dot)});

如何反转Y轴变成这个数字?

解决方案

将X轴上的情节立方体旋转180°:

ilPanel1.Scene.Add (新的ILPlotCube { Children = {新的ILLinePlot(ILSpecialData.sincos1Df(200,1)[:0]。)}, Rotation = Matrix4。旋转(新的Vector3(1,0,0),ILMath.pif)});

您可能需要进一步配置绘图轴。

I want to reverse the Y axis in ILLinePlot from top to bottom (from descending become ascending). My result is like this: here is the code:

scene.Add(new ILPlotCube { new ILLinePlot(ILMath.tosingle(ZDistance["1,0;:"]), markerStyle: MarkerStyle.Dot) });

How to reverse the Y axis become like this figure?

解决方案

Turn the plot cube around the X axis by 180°:

ilPanel1.Scene.Add(new ILPlotCube { Children = { new ILLinePlot(ILSpecialData.sincos1Df(200,1)[":;0"].T) }, Rotation = Matrix4.Rotation(new Vector3(1,0,0), ILMath.pif) });

You may want to further configure the plots axes.

更多推荐

如何在ILNumerics中反转轴

本文发布于:2023-07-19 13:39:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1157060.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:转轴   如何在   ILNumerics

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!