本文介绍了如何在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中反转轴
发布评论