Rev 12984 | Rev 13037 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
12934 | jghali | 1 | <editorsettings description="Gnuplot" icon="gnuplot.png"> |
2 | <executable command="gnuplot" /> |
||
3 | <imagefile extension=".png"/> |
||
12984 | herm | 4 | <highlighter> |
12990 | herm | 5 | <rule name="commands" regex="^\s*(bind|call|cd|clear|exit|fit|help|history|if|load|lower|pause|plot|print|pwd|quit|raise|replot|reread|reset|save|set|shell|show|splot|system|test|undefine|unset|update)\b" bold="true"/> |
6 | <rule name="set" regex="^\s*set\s+(angles|arrow|autoscale|bars|bmargin|border|boxwidth|cbdata|cbdtics|cblabel|cbmtics|cbrange|cbtics|clabel|clip|cntrparam|colorbox|contour|datafile|date_specifiers|decimalsign|dgrid3d|dummy|encoding|fit|fontpath|format|grid|hidden3d|historysize|isosamples|key|label|lmargin|loadpath|locale|log|logscale|macros|mapping|margin|missing|mouse|multiplot|mx2tics|mxtics|my2tics|mytics|mztics|object|offsets|origin|output|palette|parametric|pm3d|pointsize|polar|print|rmargin|rrange|samples|size|style|surface|table|term|terminal|termoption|tics|ticscale|ticslevel|time_specifiers|timefmt|timestamp|title|tmargin|trange|urange|view|vrange|x2data|x2dtics|x2label|x2mtics|x2range|x2tics|x2zeroaxis|xdata|xdtics|xlabel|xmtics|xrange|xtics|xyplane|xzeroaxis|y2data|y2dtics|y2label|y2mtics|y2range|y2tics|y2zeroaxis|ydata|ydtics|ylabel|ymtics|yrange|ytics|yzeroaxis|zdata|zdtics|zero|zeroaxis|zlabel|zmtics|zrange|ztics|zzeroaxis)\b" bold="true"/> |
||
7 | <rule name="functions" regex="[^a-zA-Z0-9](abs|acos|acosh|arg|asin|asinh|atan|atan2|atanh|besj0|besj1|besy0|besy1|ceil|column|cos|cosh|defined|erf|erfc|exists|exp|floor|gamma|gprintf|ibeta|igamma|imag|int|inverf|invnorm|lambertw|lgamma|log|log10|norm|rand|random|real|sgn|sin|sinh|sprintf|sqrt|strcol|strftime|stringcolumn|strlen|strptime|strstrt|substr|system|tan|tanh|timecolumn|tm_hour|tm_mday|tm_min|tm_mon|tm_sec|tm_wday|tm_yday|tm_year|valid|word|words)[^a-zA-Z0-9]" color="blue" /> |
||
8 | <rule name="variables" regex="[^a-zA-Z0-9](x|y|z)[^a-zA-Z0-9]" italic="true" /> |
||
9 | <rule name="strings" regex="".+"" color="red" minimal="true"/> |
||
12984 | herm | 10 | </highlighter> |
12934 | jghali | 11 | <empty-frame-text> |
12 | plot sin(x), (cos(x))**2 |
||
13 | </empty-frame-text> |
||
14 | <preamble> |
||
15 | set terminal png transparent enhanced size $scribus_realwidth_px$,$scribus_realheight_px$ |
||
16 | set output "$scribus_file$.png" |
||
17 | set xrange [$scribus_xmin$:$scribus_xmax$] |
||
18 | set yrange [$scribus_ymin$:$scribus_ymax$] |
||
19 | set title "$scribus_title$" |
||
20 | set xlabel "$scribus_xlabel$" |
||
21 | set ylabel "$scribus_ylabel$" |
||
22 | $scribus_grid$ $scribus_gridlayer$ |
||
23 | $scribus_zeroaxis$ |
||
24 | </preamble> |
||
25 | <postamble></postamble> |
||
26 | <tab type="settings"> |
||
27 | <title><i18n> |
||
28 | <en>Ranges</en> |
||
29 | <de>Bereiche</de> |
||
30 | <fr>Rangées</fr> |
||
31 | <pl>Zakresy</pl> |
||
32 | </i18n></title> |
||
33 | <comment><i18n> |
||
34 | <en>Enter asterisk (*) for autoscale!</en> |
||
35 | <de>Stern (*) für automatische Skalierung eingeben!</de> |
||
36 | <fr>Entrez une astérisque (*) pour ajuster automatiquement !</fr> |
||
37 | <pl>Wpisz asterisk (*) dla automatycznego skalowania!</pl> |
||
38 | </i18n></comment> |
||
39 | <spinbox name="xmin" type="double" min="-1e6" max="+1e6" step="1" default="*" special="*"><i18n> |
||
40 | <en>X Min:</en> |
||
41 | <pl>Min X:</pl> |
||
42 | </i18n></spinbox> |
||
43 | <spinbox name="xmax" type="double" min="-1e6" max="+1e6" step="1" default="*" special="*"><i18n> |
||
44 | <en>X Max:</en> |
||
45 | <pl>Maks. X:</pl> |
||
46 | </i18n></spinbox> |
||
47 | <spinbox name="ymin" type="double" min="-1e6" max="+1e6" step="1" default="*" special="*"><i18n> |
||
48 | <en>Y Min:</en> |
||
49 | <pl>Min Y:</pl> |
||
50 | </i18n></spinbox> |
||
51 | <spinbox name="ymax" type="double" min="-1e6" max="+1e6" step="1" default="*" special="*"><i18n> |
||
52 | <en>Y Max:</en> |
||
53 | <pl>Maks. Y:</pl> |
||
54 | </i18n></spinbox> |
||
55 | </tab> |
||
56 | <tab type="settings"> |
||
57 | <title><i18n> |
||
58 | <en>Labels</en> |
||
59 | <de>Beschriftungen</de> |
||
60 | <fr>Étiquettes</fr> |
||
61 | <pl>Etykiety</pl> |
||
62 | </i18n></title> |
||
63 | <text name="title" type="short" default=""><i18n> |
||
64 | <en>Title:</en> |
||
65 | <de>Titel:</de> |
||
66 | <fr>Titre :</fr> |
||
67 | <pl>Tytuł:</pl> |
||
68 | </i18n></text> |
||
69 | <text name="xlabel" type="short" default="">X-Label:</text> |
||
70 | <text name="ylabel" type="short" default="">Y-Label:</text> |
||
71 | <list name="grid" default="#"> |
||
72 | <title><i18n> |
||
73 | <en>Grid:</en> |
||
74 | <de>Gitter:</de> |
||
75 | <fr>Grille :</fr> |
||
76 | <pl>Siatka:</pl> |
||
77 | </i18n></title> |
||
78 | <option value="#"><i18n> |
||
79 | <en>No Grid</en> |
||
80 | <de>Kein Gitter</de> |
||
81 | <fr>Pas de Grille</fr> |
||
82 | <pl>Bez siatki</pl> |
||
83 | </i18n></option> |
||
84 | <option value="set grid xtics ytics"><i18n> |
||
85 | <en>Major ticks only</en> |
||
86 | <de>Nur Hauptstriche</de> |
||
87 | <fr>Seulement les coches majeures</fr> |
||
88 | <pl>Tylko główne linie</pl> |
||
89 | </i18n></option> |
||
90 | <option value="set grid xtics ytics mxtics mytics"><i18n> |
||
91 | <en>Major and minor ticks</en> |
||
92 | <de>Alle Stiche</de> |
||
93 | <fr>Coches majeures et mineures</fr> |
||
94 | <pl>Wszystkie linie</pl> |
||
95 | </i18n></option> |
||
96 | </list> |
||
97 | <list name="gridlayer" default="back"> |
||
98 | <title><i18n> |
||
99 | <en>Grid layer:</en> |
||
100 | <de>Gitterebene:</de> |
||
101 | <fr>Niveau de la grille :</fr> |
||
102 | <pl>Warstwa siatki:</pl> |
||
103 | </i18n></title> |
||
104 | <option value="back"><i18n> |
||
105 | <en>Back</en> |
||
106 | <de>Hinten</de> |
||
107 | <fr>Arrière</fr> |
||
108 | <pl>Na spodzie</pl> |
||
109 | </i18n></option> |
||
110 | <option value="front"><i18n> |
||
111 | <en>Front</en> |
||
112 | <de>Vorne</de> |
||
113 | <fr>A l'avant</fr> |
||
114 | <pl>Na wierzchu</pl> |
||
115 | </i18n></option> |
||
116 | </list> |
||
117 | <list name="zeroaxis" default=""> |
||
118 | <title><i18n> |
||
119 | <en>Zero axis:</en> |
||
120 | <de>Null-Achse:</de> |
||
121 | <fr>Axe Zero :</fr> |
||
122 | <pl>Oś zerowa:</pl> |
||
123 | </i18n></title> |
||
124 | <option value=""><i18n> |
||
125 | <en>None</en> |
||
126 | <de>Keine</de> |
||
127 | <fr>Aucun</fr> |
||
128 | <pl>Brak</pl> |
||
129 | </i18n></option> |
||
130 | <option value="set xzeroaxis"><i18n> |
||
131 | <en>X axis</en> |
||
132 | <de>X-Achse</de> |
||
133 | <fr>Axe des X</fr> |
||
134 | <pl>Oś X</pl> |
||
135 | </i18n></option> |
||
136 | <option value="set yzeroaxis"><i18n> |
||
137 | <en>Y axis</en> |
||
138 | <de>Y-Achse</de> |
||
139 | <fr>Axe des Y</fr> |
||
140 | <pl>Oś Y</pl> |
||
141 | </i18n></option> |
||
142 | <option value="set zeroaxis"><i18n> |
||
143 | <en>Both</en> |
||
144 | <de>Beide</de> |
||
145 | <fr>Les deux</fr> |
||
146 | <pl>Obie</pl> |
||
147 | </i18n></option> |
||
148 | </list> |
||
149 | </tab> |
||
150 | </editorsettings> |