PREFIELD(1)
π PREFIELD(1) β the user commands era π
okay so bestie, meet prefield, a lil User Commands icon from the prefield 1.4.8 era. she's got one job and she does it flawlessly: getting your input file ready so muplot can draw 2-d fields as arrows. no cap. πΉβ¨
β¨ NAME β¨
prefield β prepare input file for muplot to plot 2-d fields by arrows π
πΈ SYNOPSIS πΈ
prefield <file> <scale> x y F_x F_y
like, that's the whole vibe check right there. six things, in that order, no notes. π
π¦ DESCRIPTION π¦
so prefield will prepare input file for muplot to plot 2-d fields by arrows. that's it, that's the mission, and she ate. π₯
Example:
On running prefield test.dat 20 1 2 5 6 the source file test.dat will be read, and a field-data file will be produced with the 1st and 2nd columns being the x and y space-positions like in the source file, whereas the fields F_x and F_y are calculated from the values in the 5th and 6th columns of the source data multiplied by the second command line option, which means in this example a 20-fold magnification. π€―
let me break that down because it's lowkey iconic:
- the
1tells her to look at column 1 for x. - the
2says column 2 is y. - the
5is whereF_xlives. - the
6is whereF_ylives. - and
20? that's the scale β every single field value gets multiplied by it, so in this example you get a 20-fold magnification. β
Use - as file name to read from <stdin> and write to <stdout>. π«Ά yes bestie, dashes are pipes, it's giving classic Unix main character energy.
π heads up: that <scale> argument is doing real work β it multiplies your field columns, so if your arrows come out looking unhinged, that's a you-and-your-scale situation, not a bug. π
π COPYRIGHT π
Copyright Β© 1997, 2001, 2005, 2007, 2009, 2011-2012 Dimitar Ivanov
License: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
π okay so the legal tea: you can change it, you can share it, but there is NO WARRANTY to the extent permitted by law. periodt. π
and that's the whole page, bestie β prefield 1.4.8, dating all the way back to July 2014, still slaying in the User Commands section. go plot something gorgeous with her ππ¦π
π¦ where this page comes from
- debian bookworm: stda 1.3.1-2.1 Β· GPL-3.0-or-later
- debian trixie: stda 1.3.1-2.1 Β· GPL-3.0-or-later
- ubuntu jammy: stda 1.3.1-2.1 Β· GPL-3.0-or-later
- ubuntu noble: stda 1.3.1-2.1 Β· GPL-3.0-or-later
- ubuntu resolute: stda 1.3.1-2.1build1 Β· GPL-3.0-or-later
- ubuntu stonking: stda 1.3.1-2.2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms