File: pgfplotstable.cwl

package info (click to toggle)
texstudio 4.9.1%2Bds-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 110,128 kB
  • sloc: cpp: 111,264; xml: 18,668; ansic: 8,977; python: 357; javascript: 177; sh: 147; makefile: 52
file content (257 lines) | stat: -rw-r--r-- 7,784 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
# CWL for the pgfplotstable.sty package
# Matthew Bertucci updated 12/23/2021 for v1.18.1

### Dependency Tree ###
# pgfplotstable.sty
# ├── pgfplots.sty
# ├── array.sty
# └── pgfplotstable.code.tex
#     └── pgfplotstable.coltype.code.tex

#include:pgfplots
#include:array

\pgfplotstableset{options%keyvals}
\pgfplotstabletypeset{table}
\pgfplotstabletypeset[options%keyvals]{table}
\pgfplotstabletypesetfile{file}
\pgfplotstabletypesetfile[options%keyvals]{file}
\pgfplotstableread{table}{macro%cmd}#d

\pgfplotstablecol#*
\pgfplotstablecolname#*
\pgfplotstablerow#*
\pgfplotstablecols#*
\pgfplotstablerows#*
\pgfplotstablename#*
\pgfplotstablepartno#*

\pgfplotstablenew{row count}{macro%cmd}#d
\pgfplotstablenew[options%keyvals]{row count}{macro%cmd}#d
\pgfplotstablenew*{row count}{macro%cmd}#d
\pgfplotstablenew*[options%keyvals]{row count}{macro%cmd}#d
\pgfplotstablevertcat{table1%cmd}{table2}#d
\pgfplotstableclear{table}

\pgfplotstablecreatecol{new col name}{table}
\pgfplotstablecreatecol[options%keyvals]{new col name}{table}

\prevrow{col name}#*
\getprevrow{col name}{macro%cmd}#*d
\thisrow{col name}#*
\getthisrow{col name}{macro%cmd}#*d
\nextrow{col name}#*
\getnextrow{col name}{macro%cmd}#*d
\pgfmathaccuma#*
\pgfmathaccumb#*

\pgfplotstablesave{table}{output-file name}
\pgfplotstablesave[options%keyvals]{table}{output-file name}

\pgfplotstableforeachcolumn%<\table%>\as%<\macro%>{%<code%>}#*
\pgfplotstableforeachcolumnelement{%<col name%>}\of{%<\table%>}\as%<\macro%>{%<code%>}#*
\pgfplotstablemodifyeachcolumnelement{%<col name%>}\of{%<\table%>}\as%<\macro%>{%<code%>}#*
\pgfplotstablegetelem{%<row%>}{%<column%>}\of{%<\table%>}#*
\pgfplotstablegetcolumnnamebyindex{%<col index%>}\of{%<\table%>}\to%<\macro%>#*
\pgfplotstablegetrowsof{table}#*
\pgfplotstablegetcolsof{table}#*

\pgfplotstabletranspose{macro%cmd}{table}#d
\pgfplotstabletranspose[options%keyvals]{macro%cmd}{table}#d
\pgfplotstabletranspose*{macro%cmd}{table}#d
\pgfplotstabletranspose*[options%keyvals]{macro%cmd}{table}#d
\pgfplotstablesort{macro%cmd}{table}#d
\pgfplotstablesort[options%keyvals]{macro%cmd}{table}#d

#keyvals:\pgfplotstableset#c,\pgfplotstabletypeset#c,\pgfplotstabletypesetfile#c,\pgfplotstablenew#c,\pgfplotstablenew*#c,\pgfplotstablesave#c,\pgfplotstabletranspose#c,\pgfplotstabletranspose*#c,\pgfplotstablesort#c
col sep=#space,tab,comma,semicolon,colon,braces,&,ampersand
trim cells#true,false
header=#true,false,has colnames
format=#auto,inline,file
row sep=#newline,\\
ignore chars={%<char1,char2,...%>}
white space chars={%<char1,char2,...%>}
text special chars={%<char1,char2,...%>}
comment chars={%<char1,char2,...%>}
percent is letter#true,false
text indicator=%<char%>
skip first n=%<integer%>
search path=%<path%>
search path/implicit .#true,false
columns={%<colname1,colname2,...%>}
columns/%<colname%>/.style={%<options%>}
display columns/%<index%>/.style={%<options%>}
every col no %<index%>/.style={%<options%>}
column type=%<tabular col type%>
column type/.add={%<before%>}{%<after%>}
column name=%<TeX display colname%>
multicolumn names=%<tabular col type%>
dec sep align=%<header col type%>
sci sep align=%<header col type%>
dcolumn={%<tabular col type%>}{%<type for colname%>}
sort#true,false
every first column/.style={%<options%>}
every last column/.style={%<options%>}
every even column/.style={%<options%>}
every column/.style={%<options%>}
every odd column/.style={%<options%>}
before row={%<code%>}
after row={%<code%>}
every even row/.style={%<options%>}
every odd row/.style={%<options%>}
every head row/.style={%<options%>}
every first row/.style={%<options%>}
every last row/.style={%<options%>}
every row no %<index%>/.style={%<options%>}
every nth row={%<integer%>}{%<options%>}
every nth row={%<integer[shift]%>}{%<options%>}
every row %<index%> column %<index%>/.style={%<options%>}
every row %<index%> column %<colname%>/.style={%<options%>}
every row no %<index%> column no %<index%>/.style={%<options%>}
font=%<font commands%>
begin table={%<code%>}
end table={%<code%>}
outfile=%<file%>
include outfiles#true,false
force remake#true,false
write to macro=%<\macro%>
skip coltypes#true,false
typeset#true,false
debug#true,false
TeX comment=%<comment sign%>
fixed
fixed zerofill#true,false
sci
sci zerofill#true,false
zerofill#true,false
std
std=%<lower e%>
std=%<lower e%>:%<upper e%>
relative*=%<exponent base 10%>
relative style={%<options%>}
fixed relative
int detect
int trunc
frac
frac TeX=%<\macro%>
frac denom=%<integer%>
frac whole#true,false
frac shift=%<integer%>
precision=%<number%>
sci precision=%<number%>
read comma as period#true,false
set decimal separator=%<text%>
dec sep=%<text%>
set thousands separator=%<text%>
1000 sep=%<text%>
1000 sep in fractionals#true,false
min exponent for 1000 sep=%<number%>
use period
use comma
skip 0.#true,false
showpos#true,false
print sign#true,false
sci 10e
sci 10^e
sci E
sci subscript
sci superscript
sci generic={%<keys%>}
retain unit mantissa#true,false
assume math mode#true,false
verbatim
assign cell content/.code={%<code%>}
numeric type
string type
verb string type
numeric as string type
date type=%<date format%>
preproc cell content/.code={%<code%>}
string replace={%<cell match%>}{%<cell replacement%>}
string replace*={%<pattern%>}{%<cell replacement%>}
clear infinite
preproc/expr={%<math expr%>}
multiply by=%<real number%>
divide by=%<real number%>
sqrt
multiply -1
row predicate/.code={%<code%>}
skip rows between index={%<begin%>}{%<end%>}
select equal part entry of={%<part no%>}{%<part count%>}
unique=%<colname%>
postproc cell content/.code={%<code%>}
empty cells with=%<replacement%>
set content=%<content%>
fonts by sign={%<positive-code%>}{%<negative-code%>}
create on use/%<colname%>/.style={%<options%>}
disable rowcol styles#true,false
reset styles
#endkeyvals

#keyvals:\pgfplotstableset#c
alias/%<colname%>/.initial=%<real colname%>
every table=%<file%>
#endkeyvals

#keyvals:\pgfplotstablecreatecol#c
set=%<value%>
set list={%<val1,val2,...%>}
copy=%<colname%>
copy column from table={%<table%>}{%<colname%>}
expr={%<math expr%>}
expr accum={%<math expr%>}{%<accum init%>}
quotient=%<colname%>
iquotient=%<colname%>
dyadic refinement rate=%<colname%>
idyadic refinement rate=%<colname%>
gradient={%<col x%>}{%<col y%>}
gradient loglog={%<col x%>}{%<col y%>}
gradient semilogx={%<col x%>}{%<col y%>}
gradient semilogy={%<col x%>}{%<col y%>}
linear regression
function graph cut y={%<cut value%>}{%<common options%>}{%<one keyval set for each plot%>}
function graph cut x={%<cut value%>}{%<common options%>}{%<one keyval set for each plot%>}
#endkeyvals

#keyvals:\pgfplotstabletranspose#c,\pgfplotstabletranspose*#c,\pgfplotstableset#c
colnames from=%<colname%>
input colnames to=%<colname%>
#endkeyvals

#keyvals:\pgfplotstablesort#c,\pgfplotstableset#c
sort key=%<column%>
sort key from=%<table%>
sort cmp=#fixed <,fixed >,int <,int >,float <,float >,date <,date >,string <,string >
#endkeyvals

# following need pgfcalendar
\monthname#S
\monthshortname#S
\weekday#S
\weekdayname#S
\weekdayshortname#S

## Not documented ##
# from pgfplotstable.code.tex
\ifpgfplotstabletypesetdebug#*
\pgfplotstabletypesetdebugtrue#*
\pgfplotstabletypesetdebugfalse#*
\ifpgfplotstabletypesetskipcoltypes#*
\pgfplotstabletypesetskipcoltypestrue#*
\pgfplotstabletypesetskipcoltypesfalse#*
\ifpgfplotstabletypesetresult#*
\pgfplotstabletypesetresulttrue#*
\pgfplotstabletypesetresultfalse#*
\ifpgfplotstableuserow#*
\pgfplotstableuserowtrue#*
\pgfplotstableuserowfalse#*
\prevrowno{col name}#*
\thisrowno{col name}#*
\nextrowno{col name}#*
\pgfplotstableresetcolortbloverhangright#*
\pgfplotstableresetcolortbloverhangleft#*
\pgfmatharga#S
\pgfmathargb#S
# from pgfplotstable.coltype.code.tex
\pgfplotstablecoltype#*
\endpgfplotstablecoltype#*