K3D-tools / K3D-jupyter

K3D lets you create 3D plots backed by WebGL with high-level API (surfaces, isosurfaces, voxels, mesh, cloud points, vtk objects, volume renderer, colormaps, etc). The primary aim of K3D-jupyter is to be easy for use as stand alone package like matplotlib, but also to allow interoperation with existing libraries as VTK.
MIT License
942 stars 123 forks source link

logarithmic scale colorLegend? #311

Closed esalehim closed 3 months ago

esalehim commented 3 years ago

How hard is it to add a logarithmic scale colorLegend? some attributes require a log scale legend rather than a linear one

something similar to below screenshot:

image

artur-trzesiok commented 2 years ago

@marcinofulus this is actual a good question. Current state is that in k3d everything is "plain". If you want to change logarithmic scale for x axis you simple should apply simple re-compute for x-coordinates. But number of axis/color legend will not match then.

Can we setup a call or discuss here what will be your sugestions about that? I feel that if we will introduce differents scales that should be generic both for colorlegends and axes (i remember that we had already request for that kind of feature)

esalehim commented 3 months ago

Hi @artur-trzesiok, is this finally implemented?