Open hacknus opened 1 year ago
negative values or zero values in the data are not treated/ignored.
There are three solutions to this i think
I will have a go at this based on your PR @hacknus, as i need this fairly soon^^
Over in stabilizer-stream
we do this:
Is your feature request related to a problem? Please describe. I want to be able to plot data on a logarithmic scale. Either just x, just y or both axes.
Describe the solution you'd like It would be easiest to have an implementation that would only need one call in the constructor:
to enable the log axes.
Describe alternatives you've considered None
Additional context I already started here.
Specifically, I started by adding the function
which adds the correct formatters and adds a
logarithmic_grid_spacer
:Still unfinished: So far I am stuck with these things:
logarithmic_grid_spacer
fails to show new grid lines when we zoom in.self.log_axes[0]
orself.log_axes[1]
are set to true in the library files. In the example, this has to be done manually before handing the data over toLine::new()
or similar:any help/inputs are appreciated!