Warning, /graphics/kst-plot/src/kst/kst.1.txt is written in an unsupported language. File is not indexed.

0001 .\" The kst man page
0002 .\"
0003 .\" (C) 2011 Matthew Truch (and other kst authors)
0004 .\"
0005 .\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
0006 .\"
0007 .\" This file is part of kst
0008 .\"
0009 .\" Permission is granted to copy, distribute and/or modify this document
0010 .\" under the terms of the GNU Free Documentation License, Version 1.2 or
0011 .\" any later version published by the Free Software Foundation; with no
0012 .\" Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
0013 .\" Texts.  A copy of the license is included in the `COPYING.DOC' file
0014 .\" as part of this distribution.
0015 .\"
0016 .TH kst 1 "22 February 2011" "Version @kst_version@" "@kst_binary_name@"
0017 .SH NAME
0018 kst \(em plots scientific data
0019 .SH SYNOPSIS
0020 .nh
0021 .ad l
0022 .TP
0023 \fBkst
0024 .TP
0025 \fBkst
0026 .RB "[ " \-F " DATASOURCE ] [ " \-f " STARTFRAME ] [ " \-n " NUMFRAMES ] [ "
0027 .BR \-s " FRAMESPERSAMPLE [ " \-a " ] ] kstfile"
0028 .TP
0029 \fBkst
0030 .RB "datasource [ " \-f " STARTFRAME ] [ " \-n " NUMFRAMES ] [ " \-s 
0031 .RB " FRAMESPERSAMPLE [ " \-a " ] ] "
0032 .RB "[ " \-P " PLOTNAME ] [ " \-A "] "
0033 .RB "[ " \-d " ] [ " \-l " ] [ " \-b " ] "
0034 .RB "[ " \-x " FIELD ] [ " \-e " FIELD ] [ " \-r " RATE ] "
0035 .RB "[ " \-y " FIELD ] [ " \-p " FIELD ] [ " \-h " FIELD ] [ " \-z " FIELD ] "
0036 .RB "[ " \-\-png " filename ] "
0037 .RB "[ " \-\-print " filename [ " \-\-landscape " | " \-\-portrait " ] "
0038 .RB "[ " \-\-Letter " | " \-\-A4 " ] ]" 
0039 .hy
0040 .ad n
0041 .SH DESCRIPTION
0042 kst is a graphical data plotting tool, which includes the ability
0043 to plot live data (contiuously update the plot as new data becomes
0044 available).  
0045 
0046 kst may be run entirely from within its GUI, in which case no
0047 command line arguments are needed.  kst has a powerful wizard for
0048 easily setting up new plots.  
0049 
0050 In the second invocation, kst loads pre-saved plot specifications from the
0051 file
0052 .I kstfile
0053 and optionally may override some of the settings in that file.
0054 
0055 In the third invocation, kst displays plots of the data as directed in 
0056 the default manner.  Additional datasources may be specified on the 
0057 command line with options for that datasource following it.  Command
0058 line options generally apply to all subsequent options unless later
0059 overridden.
0060 .SH OPTIONS
0061 .TP
0062 .B \-A\fR
0063 plot all curves in separate plots
0064 .TP
0065 .B \-a\fR
0066 average frames (simple mean) when plotting with
0067 .B \-s\fR.
0068 .TP
0069 .B \-\-A4\fR
0070 use A4 sized paper for printing.  Requires
0071 .B \-\-print\fR.
0072 .TP
0073 .B \-b\fR
0074 plot as bargraphs.
0075 .TP
0076 .B \-d\fR
0077 use points when plotting curves.
0078 .TP
0079 .B \-e\ FIELD\fR
0080 use
0081 .I FIELD
0082 as the magnitude of error bars applied to the next plot.
0083 .TP
0084 .BR \-F\ datasource\fR
0085 override the datasource indicated in the 
0086 .I kstfile
0087 and instead use
0088 .I datasource\fR.
0089 .TP
0090 .B \-f\ STARTFRAME\fR
0091 begin plotting at
0092 .I STARTFRAME
0093 frames into the data.  Set to \-1 to start at
0094 .I NUMFRAMES
0095 from the end of the data.
0096 .TP
0097 .B \-h\ FIELD\fR
0098 plot
0099 .I FIELD
0100 as a histogram.
0101 .TP
0102 .B \-l\fR
0103 use lines when plotting curves.
0104 .TP
0105 .B \-\-landscape\fR
0106 use landscape orientation for printing.  Requires
0107 .B \-\-print\fR.
0108 .B \-\-Letter\fR
0109 use US Letter sized paper for printing.  Requires
0110 .B \-\-print\fR.
0111 .TP
0112 .B \-n\ NUMFRAMES\fR
0113 plot at most
0114 .I NUMFRAMES
0115 frames of data.  Set to \-1 to indicate all of the data.
0116 .TP
0117 .B \-P\ PLOTNAME\fR
0118 plot all plots in the plot named
0119 .I PLOTNAME\fR.
0120 .TP
0121 .B \-p\ FIELD\fR
0122 plot
0123 .I FIELD
0124 as a power spectrum plot.
0125 .TP
0126 .B \-\-png\ filename\fR
0127 render to a portable network graphics (png) image with file name 
0128 .I filename
0129 and quit.
0130 .TP
0131 .B \-\-portrait\fR
0132 use portrait orientation for printing.  Requires
0133 .B \-\-print\fR.
0134 .TP
0135 .B \-\-print\ filename
0136 print the plot to file
0137 .I filename
0138 and quit.
0139 .TP
0140 .B \-s\ FRAMESPERSAMPLE\fR
0141 plot every
0142 .I FRAMESPERSAMPLE
0143 frames when plotting.
0144 .TP
0145 .B \-x\ FIELD\fR
0146 use
0147 .I FIELD
0148 as the X-axis vector.
0149 .TP
0150 .B \-y\ FIELD\fR
0151 plot
0152 .I FIELD\fR
0153 as an XY plot.
0154 .TP
0155 .B \-z\ FIELD\fR
0156 plot
0157 .I FIELD
0158 as an image.
0159 .SH EXAMPLES
0160 Plot all data in column 2 from data.dat.
0161        kst data.dat \-y 2
0162 
0163 Same as above, except only read 20 lines, starting at line 10.
0164        kst data.dat \-f 10 \-n 20 \-y 2
0165 
0166 also read col 1. One plot per curve.
0167        kst data.dat \-f 10 \-n 20 \-y 1 \-y 2
0168 
0169 Read col 1 from data2.dat and col 1 from data.dat
0170        kst data.dat \-f 10 \-n 20 \-y 2 data2.dat \-y 1
0171 
0172 Same as above, except read 40 lines starting at 30 in data2.dat
0173        kst data.dat \-f 10 \-n 20 \-y 2 data2.dat \-f 30 \-n 40 \-y 1
0174 
0175 Specify the X vector and error bars:
0176 Plot x = col 1 and Y = col 2 and error flags = col 3 from data.dat
0177        kst data.dat \-x 1 \-e 3 \-y 2
0178 
0179 Get the X vector from data1.dat, and the Y vector from data2.dat.
0180        kst data1.dat \-x 1 data2.dat \-y 1
0181 
0182 Placement:
0183 Plot column 2 and column 3 in plot P1 and column 4 in plot P2
0184        kst data.dat \-P P1 \-y 2 \-y 3 \-P P2 \-y 4
0185 .SH BUGS
0186 Please report bugs to either the kst mailing list at
0187 .I kst@kde.org
0188 or to the kde bugzilla under the kst product at
0189 .I http://bugs.kde.org/\fR.
0190 If you can run kst, you can easily report bugs by selecting
0191 .I Bug Report Wizard
0192 from the 
0193 .I Help
0194 menu.
0195 .SH AUTHOR
0196 Matthew Truch <matt@truch.net>
0197 .SH LICENSE
0198 Permission is granted to copy, distribute and/or modify this document
0199 under the terms of the GNU Free Documentation License, Version 1.2 or
0200 any later version published by the Free Software Foundation; with no
0201 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
0202 Texts.  A copy of the license is included in the `COPYING.DOC' file
0203 as part of the kst distribution.