Get the latest tech news

Eplot: A new package for making charts in Emacs


One of the items on my todo list was: And that’s because I’ve been looking for an easy way to do simple plots for yonks. When I did a post about movie ratings, I tried chart.el: It&#821…

They basically just use the largest number as the highest Y marking, and then add a couple lines equidistant towards origo, and then go off and collect their paychecks. And the problem isn’t exactly “hard” in a “solve for Eulers dilemma” maths way, but it just requires some thought about what “pleasing numbers” are (basically 1, 2 and 5 in various scales), and thoughtful handling of the many border cases you get when plotting stock charts (a range can be between $0.00001 and $0.00002, or between 1e9 and 1e10 etc etc), and how do to time periods (years, sure, but then half years and then quarters and months and weeks? To digress a bit — sometimes I happen upon what seems to be nice libraries (or frameworks, as they often call themselves), and the selling point is often “we do all the boring stuff for you!

Get the Android app

Or read this on Hacker News

Read more on:

Photo of charts

charts

Photo of emacs

emacs

Photo of new package

new package

Related news:

News photo

Arbitrary shell command evaluation in Org Mode (GNU Emacs)

News photo

Trial results for new lung cancer drug are 'off the charts'

News photo

Stellar Blade beats older Fallout titles to top the charts | Circana April 2024