kst(1)
๐ kst(1) โ the kst2 manual, but make it make sense ๐
okay bestie, so this is the manual page for kst(1) (it ships with kst2, iykyk) and honestly? it's giving "science but make it cute". plots, live data, the whole thing. let's get into it ๐งโจ
โจ NAME โจ
kst โ she plots scientific data. that's it. that's the vibe. ๐๐
โจ SYNOPSIS โจ
three whole moods, bestie. pick your fighter:
kst
kst [ -F DATASOURCE ] [ -f STARTFRAME ] [ -n NUMFRAMES ] [ -s
FRAMESPERSAMPLE [ -a ] ] kstfile
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 โจ
so kst is a graphical data plotting tool, and the iconic part? it can plot live data โ meaning it continuously updates the plot as new data becomes available. literally real-time plotting, no cap ๐ฅ
you can run kst entirely from within its GUI, and in that case you need zero command line arguments. none. she's self-sufficient. and she's got a powerful wizard for easily setting up new plots โ yes, a wizard, and yes, it's as magical as it sounds ๐งโโ๏ธโจ
invocation #2: kst loads pre-saved plot specifications from the file kstfile, and optionally may override some of the settings in that file. lowkey the glow-up option ๐
invocation #3: kst displays plots of the data as directed in the default manner. you can also specify additional datasources on the command line, with options for that datasource following it. and here's the key detail, bestie: command line options generally apply to all subsequent options unless later overridden โ so order matters, okay? ๐
โจ OPTIONS โจ
-Aโ plot all curves in separate plots. every curve gets her own moment, main character energy each ๐-aโ average frames (simple mean) when plotting with-s. the math-y one ๐งฎ--A4โ use A4 sized paper for printing. Requires--print.-bโ plot as bargraphs. bars! ๐-dโ use points when plotting curves. dots only, no lines โจ-eFIELD โ use FIELD as the magnitude of error bars applied to the next plot. (next plot specifically, okay? she's picky) ๐-Fdatasource โ override the datasource indicated in the kstfile and instead use datasource. swap her out ๐ซ-fSTARTFRAME โ begin plotting at STARTFRAME frames into the data. set to-1to start at NUMFRAMES from the end of the data. (yes,-1is the secret reverse code ๐)-hFIELD โ plot FIELD as a histogram. distribution queen ๐-lโ use lines when plotting curves. lines 4 lyfe ใฐ๏ธ--landscapeโ use landscape orientation for printing. Requires--print.--Letterโ use US Letter sized paper for printing. Requires--print.-nNUMFRAMES โ plot at most NUMFRAMES frames of data. set to-1to indicate all of the data. (-1= give me everything, no cap ๐)-PPLOTNAME โ plot all plots in the plot named PLOTNAME. plotception ๐-pFIELD โ plot FIELD as a power spectrum plot. fancy physics moment ๐--pngfilename โ render to a portable network graphics (png) image with file name filename and quit. screenshot and dip ๐ธ--portraitโ use portrait orientation for printing. Requires--print.--printfilename โ print the plot to file filename and quit. printer arc ๐จ๏ธ-sFRAMESPERSAMPLE โ plot every FRAMESPERSAMPLE frames when plotting. sample it, don't scull it ๐-xFIELD โ use FIELD as the X-axis vector. horizontal icon โญ-yFIELD โ plot FIELD as an XY plot. the classic ๐-zFIELD โ plot FIELD as an image. picture mode ๐ผ๏ธ
โจ EXAMPLES โจ (this is the fun part, fr fr)
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 โจ
found a bug? ๐ญ please report it 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 here's the cute part: if you can run kst, you can easily report bugs by selecting Bug Report Wizard from the Help menu. built-in bug reporting, we love a self-aware icon ๐ซถ
โจ AUTHOR โจ
Matthew Truch <matt@truch.net> โ thanks king ๐
โจ 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. ๐
aaaand that's the whole page, bestie ๐ Version 2.1, dated 22 February 2011, kst(1) โ go forth and plot something iconic ๐๐ฆ
๐ฆ where this page comes from
- opensuse-leap 16.0: kst 2.1.0-bp160.1.4 ยท GPL-2.0-or-later
- opensuse-leap 16.0: kst 2.1.0-bp160.1.4 ยท GPL-2.0-or-later
- opensuse-leap 16.0: kst 2.1.0-bp160.1.4 ยท 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