XPlot icon indicating copy to clipboard operation
XPlot copied to clipboard

Visualizing 3d meshes in jupyter notebook

Open chriss2401 opened this issue 4 years ago • 1 comments

I'd like to be able to show 3D meshes inside a jupyter notebook using Xplot.Plotly, similar to the chart features, similar to chatter plotting, histograms etc. Is this possible, or is it planned to be implemented ?

chriss2401 avatar Apr 29 '20 09:04 chriss2401

I just realized that the following works:

var openSeries = new Graph.Mesh3d() { name = "Mesh", x = new[] { 1, 2, 3, 4 }, y = new[] { 10, 15, 13, 17 }, z = new[] {11, 12, 25, 11}, color = "red" };

var chart = Chart.Plot(new[] {openSeries}); chart.WithTitle("Mesh"); display(chart);

Is there anyway to draw a color per vertex/facet ?

chriss2401 avatar Apr 29 '20 09:04 chriss2401