visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
389 stars 108 forks source link

Support symlog scaling option #19463

Open markcmiller86 opened 1 week ago

markcmiller86 commented 1 week ago

Is your feature request related to a problem?

See this Teams discussion

User requests a new kind of logarithmic plot that instead produces signed log outside some interval [-C,+C] and produces linear inside that interval and have C be a variable of the scaling.

This is similar to a feature in MATLAB

markcmiller86 commented 1 week ago

Just capturing here how I did this with expressions. The problem with the expression approach is that applying the scaling to different variables being plotted requires editing the expressions.

Would it make sense to allow a plot's scaling feature to be implemented as an expression thereby applying the expression to the plotted variable before it gets plotted. This would make doing different scalings very easy for users and reduce code development burden for developers.

Screen Shot 2024-04-19 at 5 01 23 PM Screen Shot 2024-04-19 at 5 01 30 PM Screen Shot 2024-04-19 at 5 01 45 PM