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

Wireframe plot of indicatrix request #26

Open
jkclegg opened this issue Oct 26, 2023 · 4 comments
Open

Wireframe plot of indicatrix request #26

jkclegg opened this issue Oct 26, 2023 · 4 comments

Comments

@jkclegg
Copy link

jkclegg commented Oct 26, 2023

Please provide us with the following information:

In the old version of pascal the indicatrix plots were originally made as a wireframe. It would be great if there were an option to do this in the new version!

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [X ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

@MJCliffe
Copy link
Owner

MJCliffe commented Nov 7, 2023

There's no in-built plotly wireframe plot so this will require implementing one from scratch.

@ml-evs
Copy link
Collaborator

ml-evs commented Nov 7, 2023

There's no in-built plotly wireframe plot so this will require implementing one from scratch.

https://plotly.com/python/reference/surface/#surface-hidesurface might be the ticket here? Adding the ability to interactively toggle might be a bit more work though

@jkclegg
Copy link
Author

jkclegg commented Nov 7, 2023

There seems to be a way of doing it with meshgrid? https://plotly.com/python/v3/3d-wireframe-plots/

@MJCliffe
Copy link
Owner

Thanks, unfortunately that's for v3 of plotly which is very old and for some reason it was removed. I've put some contours on the surface plot which make it look a bit wireframey. It should be possible someone who wanted only contours only to tweak the plotting code, either by making the colour of the surface white (transparent?) or possibly by only plotting the contours. I don't think this looks as nice so currently won't make it default.

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

No branches or pull requests

3 participants