miranov25 / RootInteractive

5 stars 12 forks source link

RootInterative figure transformation #254

Open miranov25 opened 2 years ago

miranov25 commented 2 years ago

Goal:

In the current RootInteractive we can use custom data transformations and present transformed data. It is actively used, for example for logarithmic, sqrt, power, and rotation transformation of histogram content using a parameterized data source. Such an approach requires a high programming effort not only for the transformation of the data but also for the corresponding intervals (error bars, confidence intervals).

Better support and simplification of usaga can be achieved by centrally supporting the transformation of figures and axes. Transform figures instead of the data source. The goal is to add support for creating custom axis transformations via custom transformation functions (monotonic, differentiable)

Transformations:

x* ->Tx(x)
y* -> Ty(y)
(x*,y*)-> Txy(x,y)  

Requirements/interface:

Inspiration/convention to check:

Compared to other packages, our package should support interactivity and custom transformation (e.g. as text input on the client)

miranov25 commented 2 years ago

Axis description should be a string similar to the hints e.g. {transform} nameOfvariable {transform} length(cm)

miranov25 commented 1 year ago

Summary

missing part z transform