File: dataplot.cwl

package info (click to toggle)
texstudio 4.8.9%2Bds-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 109,164 kB
  • sloc: cpp: 109,508; xml: 18,668; ansic: 8,977; python: 357; javascript: 177; sh: 147; makefile: 52
file content (253 lines) | stat: -rw-r--r-- 6,442 bytes parent folder | download | duplicates (2)
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
# dataplot package
# Matthew Bertucci 2025/03/06 for v3.0

#include:tikz
#include:tikzlibraryplotmarks
#include:tikzlibrarycalc
#include:datatool

#keyvals:\usepackage/dataplot#c
# options passed to datatool
delimiter=%<char%>
separator=%<char%>
default-name=%<db name%>
new-value-expand#true,false
new-value-trim#true,false
store-datum#true,false
# options passed to datatool-base
math=#l3fp,lua,fp,pgfmath
lang-warn#true,false
nolocale
locales={%<locales list%>}
lang={%<locales list%>}
verbose#true,false
initial-purify=#early,late
auto-reformat-types={%<list of types%>}
lists={%<keyvals%>}
compare={%<keyvals%>}
numeric={%<keyvals%>}
datetime={%<keyvals%>}
#endkeyvals

#ifOption:math=fp
#include:fp
#endif

#ifOption:math=pgfmath
#include:pgfrcs
#include:pgfkeys
#include:pgfmath
#endif

#keyvals:\DTLsetup
plot={%<keyvals%>}
#endkeyvals

\DTLplot{db list%special}{keyvals}
\DTLplot[condition]{db list%special}{keyvals}

#keyvals:\DTLplot
x=%<db key%>
y=%<db key%>
extra-assign={%<assign list%>}
include-if=%<definition%>
include-if-fn=%<cmd%>
width=##L
height=##L
bounds={%<min-x,min-y,max-x,max-y%>}
min-x=%<decimal%>
minx=%<decimal%>
min-y=%<decimal%>
miny=%<decimal%>
max-x=%<decimal%>
maxx=%<decimal%>
max-y=%<decimal%>
maxy=%<decimal%>
legend=#none,north,northeast,east,southeast,south,southwest,west,northwest,custom
legend-labels={%<text1,text2,...%>}
legendlabels={%<text1,text2,...%>}
legend-offset={%<x-dim,y-dim%>}
style=#both,lines,markers
style-resets={%<settings%>}
group-styles={%<settings%>}
colors={%<color1,color2,...%>}
line-colors={%<color1,color2,...%>}
linecolors={%<color1,color2,...%>}
lines={%<linestyle1,linestyle2,...%>}
mark-colors={%<color1,color2,...%>}
markcolors={%<color1,color2,...%>}
marks={%<mark1,mark2,...%>}
axes=#both,x,y,none
omit-zero-lable=#both,auto,x,y,false
side-axes#true,false
x-axis-style={%<TikZ keys%>}
y-axis-style={%<TikZ keys%>}
axis-style={%<TikZ keys%>}
extend-x-axis={%<lower extent,upper extent%>}
extend-y-axis={%<lower extent,upper extent%>}
extend-axes={%<lower extent,upper extent%>}
box#true,false
box-ticks=#none,match-axes,in,out
grid#true,false
major-grid-style={%<TikZ keys%>}
minor-grid-style={%<TikZ keys%>}
xlabel=%<text%>
x-label=%<text%>
ylabel=%<text%>
y-label=%<text%>
min-x-label=%<text%>
min-x-label-style={%<TikZ keys%>}
max-x-label=%<text%>
max-x-label-style={%<TikZ keys%>}
min-y-label=%<text%>
min-y-label-style={%<TikZ keys%>}
max-y-label=%<text%>
max-y-label-style={%<TikZ keys%>}
round=%<integer%>
round-x=%<integer%>
round-y=%<integer%>
ticks#true,false
tics#true,false
minor-ticks#true,false
minortick#true,false
tick-label-style={%<TikZ keys%>}
tic-label-style={%<TikZ keys%>}
tick-label-offset=##L
tick-dir=#in,out
ticdir=#in,out
tick-gap=%<value%>
ticgap=%<value%>
x-ticks#true,false
xtics#true,false
x-tick-label-style={%<TikZ keys%>}
x-tic-label-style={%<TikZ keys%>}
x-minor-ticks#true,false
xminortics#true,false
x-tick-dir=#in,out
xticdir=#in,out
x-tick-gap=%<value%>
xticgap=%<value%>
x-tick-labels={%<text1,text2,...%>}
xticlabels={%<text1,text2,...%>}
x-tick-points={%<decimal1,decimal2,...%>}
xticpoints={%<decimal1,decimal2,...%>}
y-ticks#true,false
ytics#true,false
y-tick-label-style={%<TikZ keys%>}
y-tic-label-style={%<TikZ keys%>}
y-minor-ticks#true,false
yminortics#true,false
y-tick-dir=#in,out
yticdir=#in,out
y-tick-gap=%<value%>
yticgap=%<value%>
y-tick-labels={%<text1,text2,...%>}
yticlabels={%<text1,text2,...%>}
y-tick-points={%<decimal1,decimal2,...%>}
yticpoints={%<decimal1,decimal2,...%>}
#endkeyvals

## Supplementary Plot Commands ##
\DTLplotatbegintikz#*
\DTLplotatendtikz#*
\DTLminX#*
\DTLminY#*
\DTLmaxX#*
\DTLmaxY#*
\DTLaddtoplotlegend{marker}{line style}{text}#*
\DTLformatlegend{legend code}#*
\DTLcustomlegend{legend code}#*
\DTLplotlegendname{db%special}#*
\DTLplotlegendname[db index]{db%special}#*
\DTLplotlegendsetname{db%special}{text}#*
\DTLplotlegendnamesep#*
\DTLplotlegendxy{db%special}{x key}{y key}#*
\DTLplotlegendxy{db%special}{x key}[y index]{y key}#*
\DTLplotlegendxy{db%special}[x index]{x key}{y key}#*
\DTLplotlegendxy{db%special}[x index]{x key}[y index]{y key}#*
\DTLplotlegendxy[db index]{db%special}{x key}{y key}#*
\DTLplotlegendxy[db index]{db%special}{x key}[y index]{y key}#*
\DTLplotlegendxy[db index]{db%special}[x index]{x key}{y key}#*
\DTLplotlegendxy[db index]{db%special}[x index]{x key}[y index]{y key}#*
\DTLplotlegendx{db%special}{x key}#*
\DTLplotlegendx{db%special}[x index]{x key}#*
\DTLplotlegendx[db index]{db%special}{x key}#*
\DTLplotlegendx[db index]{db%special}[x index]{x key}#*
\DTLplotlegendsetxlabel{x key}{text}#*
\DTLplotlegendxysep#*
\DTLplotlegendy{db%special}{y key}#*
\DTLplotlegendy{db%special}[y index]{y key}#*
\DTLplotlegendy[db index]{db%special}{y key}#*
\DTLplotlegendy[db index]{db%special}[y index]{y key}#*
\DTLplotlegendsetylabel{y key}{text}#*

## Conditionals ##
\ifDTLbox#*
\DTLboxfalse#*
\DTLboxtrue#*
\ifDTLgrid#*
\DTLgridfalse#*
\DTLgridtrue#*
\ifDTLshowlines#*
\DTLshowlinesfalse#*
\DTLshowlinestrue#*
\ifDTLshowmarkers#*
\DTLshowmarkersfalse#*
\DTLshowmarkerstrue#*
\ifDTLxaxis#*
\DTLxaxisfalse#*
\DTLxaxistrue#*
\ifDTLxminortics#*
\DTLxminorticsfalse#*
\DTLxminorticstrue#*
\ifDTLxticsin#*
\DTLxticsinfalse#*
\DTLxticsintrue#*
\ifDTLxtics#*
\DTLxticsfalse#*
\DTLxticstrue#*
\ifDTLyaxis#*
\DTLyaxisfalse#*
\DTLyaxistrue#*
\ifDTLyminortics#*
\DTLyminorticsfalse#*
\DTLyminorticstrue#*
\ifDTLyticsin#*
\DTLyticsinfalse#*
\DTLyticsintrue#*
\ifDTLytics#*
\DTLyticsfalse#*
\DTLyticstrue#*

## Lengths ##
\DTLlegendxoffset#*L
\DTLlegendyoffset#*L
\DTLminminortickgap#*L
\DTLminorticklength#*L
\DTLmintickgap#*L
\DTLplotheight#*L
\DTLplotwidth#*L
\DTLticklabeloffset#*L
\DTLticklength#*L

## Counters ##
\theDTLplotroundXvar#*
\theDTLplotroundYvar#*

## Macros ##
\DTLplotlinecolors#*
\DTLplotlines#*
\DTLplotmarkcolors#*
\DTLplotmarks#*
\DTLplotdisplayticklabel{text}#*
\DTLplotdisplayXticklabel{text}
\DTLplotdisplayYticklabel{text}
\DTLXAxisStyle#*
\DTLYAxisStyle#*
\DTLmajorgridstyle#*
\DTLminorgridstyle#*

## Adding to a Plot Stream at the Start or End ##
\dtlplothandlermark{mark code}#*
\DTLplotstream{db%special}{x key}{y key}#*
\DTLplotstream[condition]{db%special}{x key}{y key}#*