New blog post for the Emacs Carnival on writing experience (https://masto.gregnewman.io/@greg/114899165487420555):
New blog post for the Emacs Carnival on writing experience (https://masto.gregnewman.io/@greg/114899165487420555):
Works with #gnuplot, too, of course:
/*
#+BEGIN_SRC gnuplot :file myfunc2.png :results graphics
plot sin(x)
#+END_SRC
*/
@stiefkind Ich habe vor zwei Jahren für ein komplett neues Projekt (Auswertung der Heimsolaranlage) zu sh, awk, und #gnuplot gegriffen. Ich muss zugeben, dass ich teils Features von gnuplot benutzt habe, die jünger sind, als mein Sohn.
Es gibt neueres mit Weboutput mit coolen Namen - a hier: Grafana - eine 20 Jahre aeltere Software, die ich tatsaechlich mal im Einsatz hatte. In pkgsrc/graphics finde ich u.a. gnu plotutils.und ein halbes Dutzend anderer.
#lispyGopherClimate #softwareEngineering #computerScience #lisp (every Wednesday 0UTC = Tuesday night in Americas)
#peertube #podcast #archive
https://communitymedia.video/w/gVRxvMKmdoAwHHJxrcJi5c
#climateCrisis #haiku from @kentpitman
https://screwlisp.small-web.org/
#commonLisp + #gnuplot
#McCLIM #hurkle #gameDev #retrospective so far
@amszmidt sets me straight about the #loopFacility yet again
@vnikolov points out we can read comp.lang.lisp
Join in in #lambdaMOO as always!
#climateCrisis #commonLisp #graphing #series #gnuplot https://screwlisp.small-web.org/programming/common-lisp-cl-series-gnuplot-climate/
Hey everyone. I jammed some #declarative #lazyEvaluation #engineering #programming to tie into the climate segment of the live show in TWO hours.
Interesting declarative exploratory programming and super simple gnuplotting if I do say so.
But I basically ran out of time to make a good graph with daily temperature max/min/avg from about 1920-2020 in some weather stations in New Zealand. Any ideas??? Clock is ticking
#mathematics #programming #lisp #ellipses https://screwlisp.small-web.org/programming/ksaj-ellipse-perimeters/
Kind of fun. I like that there was no difference between throwing the ellipse hulls into my simple gnuplotting and throwing both the ellipse hulls and their perimeter estimates into my gnuplotting. What do you think.
for @ksaj whom I see has just posted something else interesting I should probably add as a follow up.
My #blog article on my simple #commonlisp #gnuplot as applied to ksaj's perimeter estimate implementation.
#programming #trigonometry #lisp #ellipses #graphing #commonLisp #gnuplot #mathematics #(loosely speaking) An article that was way too hard to write for what we got. I don't know why it was so complicated. Not enough coffee today? I could have done literally anything else. At least the separately drawn coarse hulls of the ellipses look oddly charming?
https://screwlisp.small-web.org/programming/common-lisp-simple-rotated-ellipse-in-two-lines/
Please tell me all the things I have done wrong ;p
At least I noticed and put a bandaid on floats in my gnuplotting.
#programming #graphing #plotting #visualization #timeSeries #gnuplot #commonLisp #lisp #example https://screwlisp.small-web.org/programming/common-lisp-invoking-gnuplot/
I could not even find my own previous articles and #demos of this online!
I used #uiop run-program to handle one specific case like
(gnuplot "bad title" '((1 2) (3 4)) '((5 6) (7 8)))
or equivalently,
(apply 'gnuplot "bad title" '(((1 2) (3 4)) ((5 6) (7 8))))
Do you personally have an example? I remember it being hard to dredge up gnuplot examples but this is beyond silly.
Are there any #gnuplot experts around?
I've a few 10s of files I want to plot, each with a specific RGB colour line. I can use for for loop to iterate over the file names to plot OK, but I can't seem to use it to iterate over the colours too. Any ideas?
plot for [dataset in "F1 F2 FZ"] dataset.".csv" for [c in "#986aba #485f8b #5e96d1"] with lines lw 2 lc rgb c
In my view that should pick the file name from the list of names and plot it with the first colour from the list of colours (rgb val)
I really love #presenterm #linux console slides tool, it is great does have #sixel support. But I haven’t found reasonable tool for charts. I mean #gnuplot is great, but I find myself impossible for me to produce heatmap there. So I have produced in one or two hours command line tool (read code glue) consuming vega-lite high level grammar of interactive graphics to do the job. So I can plot directly in #terminal and presentern. Now I am afraid to release those about 50 lines of typescript.
daten.dat
mit folgenden Daten:2024-12-01 12 33Das erste ist ein Datum, in der Form Jahr-Monat-Tag. Danach kommen zwei Werte. Wir erstellen eine Datei
2025-01-07 10 22
2025-02-22 15 30
daten.plot
mit folgendem Inhalt:set title "Meine Daten"Jetzt lässt sich das folgende Diagram mit dem Befehl
set terminal png
set output "daten.png"
set timefmt "%Y-%m"
set xdata time
set format x "%Y/%m/%d"
set xrange ['2024-12-01':'2025-02-30']
set xtics rotate
set style data lines
set ylabel "Einheit"
set key left top
set grid xtics ytics
set yrange [0 : 40]
plot "daten.dat" using 1:2 with linespoints title 'Daten 1', "daten.dat" using 1:3 with linespoints title 'Daten 2'
gnuplot daten.plot
erzeugen.The updated "What is Driving Criminalization of Women and LGBTQ People?" publication from Interrupting Criminalization has been published!
I contributed data collection and analysis work, with much guidance and patience from Andrea and Rachael. Data from multiple sources along different points in the incarceration pipeline, make very clear the intense level of racial bias. Seeing this, along with the recent trend in increased incarceration and criminalization was sobering.
When you hear about the administration forbidding certain words and classifications in data sets and reports, know that it is an attempt to hide this.
The data analysis work was done with #emacs #gnuplot #clojure #duckdb and #orgmode in support of #prisonabolition #decriminalization and #socialjustice
https://www.interruptingcriminalization.com/resources-all/whats-driving-2025-update
The interactive calculation sheet for #engineering, based on #emacs, #orgmode, #texlatex and #sympy is available in English [1], although the blog article is in German [2]. The template is also in English [3].
#Orgmode is so impressive, you could use #maxima, #octave, #gnuplot, #graphviz and almost 40 other languages with all their libraries right out of the box [4].
Have fun!
[1] https://vennemann-online.de/flossblog/downloads/eng.pdf
[2] https://vennemann-online.de/flossblog/post20250208_pencilandpaper.html
[3] https://vennemann-online.de/flossblog/downloads/org_eng.zip
[4] https://orgmode.org/worg/org-contrib/babel/languages/index.html
FTR, this paper was written entirely in #orgmode in #Emacs: a simple export to LaTeX and then upload resulting files (including images created via src blocks, e.g. with #gnuplot, #graphviz, and #PlantUML) to #arXiv. Thank you to all the code developers for all those tools for creating such a powerful, useful, and efficient working environment for coding, analysis, and writing prose.
And all of it #FOSS!
#gnuplot is great. I've been feeding the results of #sqlite queries into it via org-babel, and it works almost perfectly; the only exception being that I can't use column names in the gnuplot dataset.
Maybe I'll write a blog post about that... In some moderately distant future.
It feels much less accessible compared to #matplotlib, but not more so than #emacs, I guess. And it's great not to carry any dependencies except the gnuplot library, particularly for the Org Mode use case.
The charts sometimes look like a hello from the 90s, but to me it's a plus that they don't give the "matplotlib on defaults" vibe which is omnipresent in modern science :D
Christmas present has just arrived !
#gnuplot
Been a while since I touched #gnuplot ... but it looks like I still got it.
Electric charges, fields and potentials. Took about 20 min to whip up and convert to an mp4.
Whenever I make plots with Matplotlib, I end up feeling confused and uncertain about why it works. When I make plots with #Gnuplot I end up feeling satisfied that it works, and I understand why. Both are quirky and confusing every time I use them, but I always end up with a better feeling from Gnuplot. I really need to learn more about it.