gibt es ein Beispiel für das Plotten volumetrischen Slice in Ilnumerics verwenden Community-Version. Dies ist ein Beispiel, das ich von Matlab Website bekam:Suchen Sie zum Beispiel für das Plotten Volumetric Slice in Ilnumerics
Volumetric slice image example of matlab
Ich habe Array X, Y, Z wie posistions und V (Geschwindigkeit) als Wert für die Farb Plotten. Alles, was ich getan habe, ist Ilpoints zu verwenden, um das V in der Position X, Y, Z nicht zu zeichnen. Hier ist mein-Code und das Ergebnis,
ILArray<float> plotXY = ILMath.zeros<float>(3, XcoordinateXY.Length);
plotXY["0;:"] = ILMath.tosingle(SurfaceXY[":;:;1"]);
plotXY["1;:"] = ILMath.tosingle(SurfaceXY[":;:;2"]);
plotXY["2;:"] = ILMath.tosingle(SurfaceXY[":;:;3"]);
ILArray<float> ColorMap = ILMath.tosingle(SurfaceXY[":;:;0"]);
var ilsurfaceplotXY = new ILPoints()
{
/*Wireframe = { Color = Color.FromArgb(50, Color.LightGray) },
Colormap = new ILColormap(dataXY),
Children = { new ILColorbar() }*/
Positions = plotXY,
Colors = cm.Map(ColorMap).T,
Color = null
};
Hier ist Code für die Anzeige:
var scene = new ILScene();
scene.Add(
new ILPlotCube
{
TwoDMode = false,
Axes =
{
XAxis =
{
Label = { Text = "UTM X (Km)" },
GridMajor =
{
DashStyle = DashStyle.Dashed,
Color = Color.DarkGray,
Width = 1
}
},
YAxis =
{
Label = { Text = "UTM Y (Km)" },
GridMajor =
{
DashStyle = DashStyle.Dashed,
Color = Color.DarkGray,
Width = 1
}
},
ZAxis =
{
Label = { Text = "DEPTH (Km)" },
GridMajor =
{
DashStyle = DashStyle.Dashed,
Color = Color.DarkGray,
Width = 1
}
}
},
Children = { ilsurfaceplotXY, ilsurfaceplotXZ, ilsurfaceplotYZ },
}
);
this.ilPanel1.Scene = scene;
this.ilPanel1.Scene.Configure();
this.ilPanel1.Refresh();
Und hier ist ein Bilder.
Es tut mir leid das Bild in der Verbindung ist.
Das ist, was ich auf der Suche for..thankyou so viel @Haymo Kutschbach – Cas
Die Art und Weise, Dank zu sagen an SO upvote und Marke als Antwort;) –