Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualizing 3d meshes in jupyter notebook #139

Open
chriss2401 opened this issue Apr 29, 2020 · 1 comment
Open

Visualizing 3d meshes in jupyter notebook #139

chriss2401 opened this issue Apr 29, 2020 · 1 comment

Comments

@chriss2401
Copy link

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
Copy link
Author

chriss2401 commented Apr 29, 2020

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant