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

Non uniform grid for volume plots #4875

Open
Luluser opened this issue Mar 18, 2025 · 0 comments
Open

Non uniform grid for volume plots #4875

Luluser opened this issue Mar 18, 2025 · 0 comments
Labels
enhancement Feature requests and enhancements

Comments

@Luluser
Copy link

Luluser commented Mar 18, 2025

Documentation gives :

volume(volume_data)
volume(x, y, z, volume_data)

Plots a volume with optional physical dimensions x, y, z.

But x,y,z seem to be only used for their boundaries and now warns :
Using an AbstractVector to specify one dimension of an ImageLike is deprecated because ImageLike sides always need exactly two values, start and stop.
Use interval notation start .. stop or a two-element tuple (start, stop) instead.

Hence it is not possible to have voxels of different sizes even for highly structured grids such as rectilinear grids with monotonically increasing spacing.

It would be really nice to have the interpolation of voxels based on the abstract vectors given in x,y,z directly in the method but I am well unable to rewrite the shader primitive.

@Luluser Luluser added the enhancement Feature requests and enhancements label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests and enhancements
Projects
None yet
Development

No branches or pull requests

1 participant