Code Monkey home page Code Monkey logo

Comments (3)

inkdot7 avatar inkdot7 commented on September 26, 2024

In the first graph, there are two problems, correct?:

  • Should also have -20000000 us tick.
  • Should not have the (+) 200 us tick, or at least not outside in the title.

Second graph:

  • Missing data lines. (again, need ticks outside the data to make the data appear).

It might be helpful with a dataset that reproduces the issues.

from chrony-graph.

MarcelWaldvogel avatar MarcelWaldvogel commented on September 26, 2024

Yes, that seems to be about it.

I have put the files (state: UTC midnight) into https://gpstime.trifence.ch/statistics.{GPS,200.160.7.197}. I hope they help (and thousand thanks for looking into it!)

In case the result is gnuplot-dependent: V5.4 patchlevel 1 on Debian bullseye (Raspberry Pi).

from chrony-graph.

MarcelWaldvogel avatar MarcelWaldvogel commented on September 26, 2024

I wanted to change the percentile of the linear range to tune some graphs and I noticed two things:

  1. linscalelimit seems to assume a one-sided graph (from 0 to some +x), however, for two-sided graphs (-y to +x) it might be useful to have a lower and upper linscalelimit (maybe even symmetric around y=0)
  2. I've had graphs where the tics were 10, 20, 200; however, the values did not go above 30, i.e., even though the percentile-based logic requires the outermost range to be logarithmic, not more space would be used by keeping that linear. Can we augment the logic as follows?
  • If none of the values is greater than 1.5 * linscalelimit, do not switch to logarithmic mode
  • (The downside: This probably requires an additional pass (or a third/fourth return value to keep track of), as this decision should only be made after all the input files have been analyzed.)

from chrony-graph.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.