kst(1)
π kst(1) β like, the manual page, but make it make sense
okay so first things first: this is the kst page out of the kst manual, section 1 (the "run it in your terminal" section, bestie). bucket list energy: plots scientific data. that's the whole vibe. let's get into it π
β¨ NAME β¨
kst β plots scientific data π
π¦ SYNOPSIS π¦
just you, alone, no args:
kst
the "load my saved plot" situation:
kst [ -F DATASOURCE ] [ -f STARTFRAME ] [ -n NUMFRAMES ] [ -s
FRAMESPERSAMPLE [ -a ] ] kstfile
the "plot this data right now" situation:
kst datasource [ -f STARTFRAME ] [ -n NUMFRAMES ] [ -s
FRAMESPERSAMPLE [ -a ] ] [ -P PLOTNAME ] [ -A] [ -d ] [ -l ] [ -b
] [ -x FIELD ] [ -e FIELD ] [ -r RATE ] [ -y FIELD ] [ -p FIELD ]
[ -h FIELD ] [ -z FIELD ] [ --png filename ] [ --print filename [
--landscape | --portrait ] [ --Letter | --A4 ] ]
πΈ DESCRIPTION πΈ
kst is a graphical data plotting tool, and honestly? she also does live data β like, it continuously updates the plot as new data becomes available. real-time icon behavior fr fr π«Ά (the original spells it "contiuously", we're moving on π)
you can run kst entirely from inside its GUI, in which case you need literally zero command line arguments. and she's got a powerful wizard for setting up new plots super easily β no cap, that's the word they used. iykyk π§
second invocation (the kstfile one): kst loads pre-saved plot specifications from the file kstfile, and can optionally override some of the settings in that file. slay.
third invocation (the datasource one): kst displays plots of the data as directed in the default manner. you can pile on additional datasources on the command line with options for that datasource following it. and here's the key thing bestie β command line options generally apply to all subsequent options unless later overridden. like a group chat rule that sticks until someone says otherwise π
β OPTIONS β
-Aβ plot all curves in separate plots-aβ average frames (simple mean) when plotting with-s.--A4β use A4 sized paper for printing. Requires--print.-bβ plot as bargraphs.-dβ use points when plotting curves.-e FIELDβ use FIELD as the magnitude of error bars applied to the next plot.-F datasourceβ override the datasource indicated in thekstfileand instead use datasource.-f STARTFRAMEβ begin plotting at STARTFRAME frames into the data. Set to-1to start at NUMFRAMES from the end of the data.-h FIELDβ plot FIELD as a histogram.-lβ use lines when plotting curves.--landscapeβ use landscape orientation for printing. Requires--print.--Letterβ use US Letter sized paper for printing. Requires--print.-n NUMFRAMESβ plot at most NUMFRAMES frames of data. Set to-1to indicate all of the data.-P PLOTNAMEβ plot all plots in the plot named PLOTNAME.-p FIELDβ plot FIELD as a power spectrum plot.--png filenameβ render to a portable network graphics (png) image with file name filename and quit.--portraitβ use portrait orientation for printing. Requires--print.--print filenameβ print the plot to file filename and quit.-s FRAMESPERSAMPLEβ plot every FRAMESPERSAMPLE frames when plotting.-x FIELDβ use FIELD as the X-axis vector.-y FIELDβ plot FIELD as an XY plot.-z FIELDβ plot FIELD as an image.
heads up: -r RATE shows up in the synopsis but has no entry in this options list. not me inventing a description for it π β it's just here in the synopsis, exactly where the original put it.
π EXAMPLES π
okay this part is the tutorial arc and honestly it ate π
Plot all data in column 2 from data.dat.
kst data.dat -y 2
Same as above, except only read 20 lines, starting at line 10.
kst data.dat -f 10 -n 20 -y 2
also read col 1. One plot per curve.
kst data.dat -f 10 -n 20 -y 1 -y 2
Read col 1 from data2.dat and col 1 from data.dat
kst data.dat -f 10 -n 20 -y 2 data2.dat -y 1
Same as above, except read 40 lines starting at 30 in data2.dat
kst data.dat -f 10 -n 20 -y 2 data2.dat -f 30 -n 40 -y 1
Specify the X vector and error bars: Plot x = col 1 and Y = col 2 and error flags = col 3 from data.dat
kst data.dat -x 1 -e 3 -y 2
Get the X vector from data1.dat, and the Y vector from data2.dat.
kst data1.dat -x 1 data2.dat -y 1
Placement: Plot column 2 and column 3 in plot P1 and column 4 in plot P2
kst data.dat -P P1 -y 2 -y 3 -P P2 -y 4
π BUGS π
please report bugs to either the kst mailing list at kst@kde.org or to the kde bugzilla under the kst product at http://bugs.kde.org/. and listen β if you can run kst, you can easily report bugs by selecting Bug Report Wizard from the Help menu. the tool literally has a button for it bestie, use it π«Ά
π AUTHOR π
Matthew Truch <matt@truch.net>
π LICENSE π
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the COPYING.DOC file as part of the kst distribution.
kisses bestie, that's the whole page β¨ this was Version 3.1.0, dated 22 February 2011 (yes she's a vintage icon, we respect her) β now go plot something gorgeous πΈπ
π¦ where this page comes from
- arch rolling: kst 3.1.0-1 Β· GPL-2.0-or-later
- (C) 2011 Matthew Truch (and other kst authors)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms