photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

242
active users

#gnuplot

2 posts2 participants1 post today

New blog post on the inspiration for a new Julia package I am writing.

The package will address the optimization based design of heat exchanger networks for process integration (energy use reduction). The optimization will be based on decision variables defined on the basis of visualisation of hot and cold streams in a process.

The blog post illustrates the concepts using gnuplot src blocks in org mode in Emacs and highlights a nice feature of code reuse in org mode. There is also a small example of the use of Emacs Calc to do some algebra.

The plan is to have a series of blog posts as the code is developed. This is the first in the series.

#HeatExchangerNetworkDesign #HeatExchangerNetworkSynthesis #HENS #Optimization #ProcessOptimization #ProcessIntegration #visualization #Emacs #Calc #EmacsCalc #orgmode #gnuplot #JuliaLang #blog

homepages.ucl.ac.uk/~ucecesf/b

www.homepages.ucl.ac.ukQTHEN: 1. Inspiration from visualization for heat exchanger network design

#climateCrisis #commonLisp #graphing #series #gnuplot screwlisp.small-web.org/progra
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 screwlisp.small-web.org/progra

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?

screwlisp.small-web.org/progra

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 screwlisp.small-web.org/progra
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)

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!

fediscience.org/@ericsfraga/11

FediScience.orgéric 🚲 🇪🇺 :emacs: (@ericsfraga@fediscience.org)Attached: 1 image ## New paper on arXiv *A multi-agent system for hybrid optimization* by me and colleagues at #UCL #ChemicalEngineering. https://arxiv.org/abs/2501.09563 #agents #MultiAgentSystem #optimization #PSE #ProcessSystemsEngineering #HybridOptimization #JuliaLang

That's what #ChatGPT gave me when I asked for a #gnuplot script for a Parabola, and plot a vertical and horizontal line crossing the zero point.

I don't see a vertical line, and neither does it cross or touch the zero point.

The generated plot command:

plot f(x) with lines title "y = x^2 - 4x - 5", \
2 with lines title "Vertical Line" lc rgb "red" lw 2, \
-9 with lines title "Horizontal Line" lc rgb "blue" lw 2

Ihr erinnert euch an mein Performance Problem, dass #gnuplot nicht so schnell läuft auf System B wie auf System A?

Nun…mit der Version von gnuplot hatte das alles gar nichts zu tun. 😅

Die Single Core Performance der CPU von System A ist einfach 4x höher als von System B. 😂

Hab das mit #sysbench von #Debian getestet. Primzahlentest. Und damit war die Sache klar. 😃

Hi #PhysikEDU und #MatheEDU, kann mir jemand sagen, warum bei einer Regression verschiedene Werte rauskommen, wenn man z.B. statt in V und mm in kV und cm eintippt. #Geogebra, #gnuplot und ein TI CAS liefern jeweils das (s_y = a · U_B^b):
- V und mm → a=10003.708679618mm/v; b=-0.97498704493556≈1
- kV und cm → a=1.1890494085993cm/kV; b=-0.97498704493556≈1
- V und m → a=10.003708679618m/V; b=-0.97498704493556≈1
Warum kommt mit Potenzreg. bei kV/cm ein anderen Wert raus für a.

I biked 4,042 km in 2023. 44.1% of that was for recreation; 55.9% was for utility (with 32.0% for my commute). Almost all of this was on my Raleigh Record Ace.

I spent $417.37 on #cycling, including building new bike stands for my office. That's $0.103/km, or $0.185/km if you only count utility cycling. Compare to about $0.40/km driving!

I used #ledgercli to track distances and expenses, and #gnuplot for the graph.

Hallo liebes #FediLZ
Ich würde gern die Prüfungsnoten in einem Diagramm darstellen. Welcher Diagrammtyp respektive Plot eignet sich dazu am Besten?
Würde das dann gerne versuchen in #gnuplot oder #r zu übersetzen.
Ganz grossen Dank für Eure Tipps!