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

surface plot in 3D #1292

Open
kevinxiaomu opened this issue Nov 20, 2022 · 8 comments
Open

surface plot in 3D #1292

kevinxiaomu opened this issue Nov 20, 2022 · 8 comments
Assignees
Labels
epic Issue that will need to be split up later on

Comments

@kevinxiaomu
Copy link

Does h5web supports ploting 3d surfaces? Some thing like the link below:

https://ts1.cn.mm.bing.net/th/id/R-C.7a82fd9d2f59afa278ffbf1b2d9acd57?rik=9fpfi6I4heIVzw&pid=ImgRaw&r=0

@loichuder
Copy link
Member

No, the closest vis is the Heatmap that has the color mapping but without 3d rendering.

This is something we might implement in the future if there is enough interest for this 🙂

@kevinxiaomu
Copy link
Author

kevinxiaomu commented Nov 21, 2022 via email

@loichuder
Copy link
Member

Do you think this is difficult to implement?

Depends. In H5Web, honestly yes 😅 ! We have a lot of components that rely on the postulate that the view is 2D.

But you could try to come up with your own stand-alone implementation with the libraries we use in H5Web:

If you do, we could then try to integrate it to H5Web.

If this appears too overwhelming, do not worry, I may tackle this myself in the future.

@loichuder
Copy link
Member

@kevinxiaomu We have a first implementation in #1303

Before we continue improving it, could you elaborate on your usecase ?

For example, would you want to use this surface plot to display HDF5 datasets in the viewer or to use it as a visualization component in other React apps ?

@axelboc axelboc added the epic Issue that will need to be split up later on label Dec 5, 2022
@axelboc
Copy link
Contributor

axelboc commented Dec 5, 2022

Hi @kevinxiaomu, may I ask for a bit more detail?

  • Where do you use the H5Web viewer (VS Code extension, JupyterLab extension, portal integration, custom app ...)?
  • What kind of data do you work with? How big is it? Do you have custom values/domains/units for the axes?
  • Does your HDF5 file use NeXus or another metadata format to describe how the data should be plotted, or do you rather expect the viewer to allow you to build your own plot by selecting the right datasets youself?
  • Can you maybe send us a sample file?

@karnevskiy
Copy link

Dear developers. How to enable this 3D view? I updated H5Web to the latest version but still don't see surf view.

@loichuder
Copy link
Member

The vis is still unfinished so it is not yet released. Sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Issue that will need to be split up later on
Projects
None yet
Development

No branches or pull requests

4 participants