Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<style type="text/css">
2
		<!--
3
		A:link        {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: none; color: #0000ff}
4
		A:visited     {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: none; color: #0000ff}
5
		A:hover       {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: underline; color: #FF0000}
6
		th            {font-family: helvetica, arial; color : blue; font-size:85%; background : lightgrey; border-right:black solid 1pt; border-bottom:black solid 1pt;}
7
		//-->
8
		</style><hr><a name="_C_PLOTMARK"><div style="background-color:yellow;font-family:courier new;"></a>CLASS <b>PlotMark</b></div>
9
<i>(Defined in: jpgraph_plotmark.inc : 73)</i><table border=1><tr><td>&nbsp;<a href="PlotMark.html" style="font-family:arial;font-weight:bold;color:darkblue;">PlotMark</a>&nbsp;</td></tr><tr><td valign=top>&nbsp;<a href="PlotMark.html#_PLOTMARK_HIDE">Hide()</a>&nbsp;<br>
10
&nbsp;<a href="PlotMark.html#_PLOTMARK_SETCALLBACK">SetCallback()</a>&nbsp;<br>
11
&nbsp;<a href="PlotMark.html#_PLOTMARK_SETCALLBACKYX">SetCallbackYX()</a>&nbsp;<br>
12
&nbsp;<a href="PlotMark.html#_PLOTMARK_SETCOLOR">SetColor()</a>&nbsp;<br>
13
&nbsp;<a href="PlotMark.html#_PLOTMARK_SETDEFAULTWIDTH">SetDefaultWidth()</a>&nbsp;<br>
14
&nbsp;<a href="PlotMark.html#_PLOTMARK_SETFILLCOLOR">SetFillColor()</a>&nbsp;<br>
15
&nbsp;<a href="PlotMark.html#_PLOTMARK_SETSIZE">SetSize()</a>&nbsp;<br>
16
&nbsp;<a href="PlotMark.html#_PLOTMARK_SETTYPE">SetType()</a>&nbsp;<br>
17
&nbsp;<a href="PlotMark.html#_PLOTMARK_SETWEIGHT">SetWeight()</a>&nbsp;<br>
18
&nbsp;<a href="PlotMark.html#_PLOTMARK_SETWIDTH">SetWidth()</a>&nbsp;<br>
19
&nbsp;<a href="PlotMark.html#_PLOTMARK_SHOW">Show()</a>&nbsp;<br>
20
</td></tr></table>&nbsp;<p><div style="font-weight:bold;font-family:arial;font-size:100%;">Class usage and Overview</div>In scatter plots and (possible) line plots each data point have a marker. This class implements these markers and the mtethod to modify it's apperance.
21
<p>
22
There are a number of possible marker, circle, filled circle, square, filled square, star, triangle and so on.
23
See PlotMark::PlotMark() below for details on how to specify what mark.
24
<p>
25
Marks are accessed thtough the 'mark' property in line and scatter plot, i.e LinePlot::mark and ScatterPlot::mark. Marks in line plot are by default turned off. To enable marks use the construction $lineplot->mark->Show().
26
<p>
27
You can modify the type of plotmarks by calling the SetType() method. Possible plot marks are:
28
 
29
<ol>
30
<li>MARK_SQUARE, A filled square
31
<lI>MARK_UTRIANGLE, A triangle pointed upwards
32
<li>MARK_DTRIANGLE, A triangle pointed downwards
33
<li>MARK_DIAMOND, A diamond
34
<li>MARK_CIRCLE, A circle
35
<li>MARK_FILLEDCIRCLE, A filled circle
36
<li>MARK_CROSS, A cross
37
<li>MARK_STAR, A star
38
<li>MARK_X, An 'X'
39
<li>MARK_LEFTTRIANGLE, A half triangle, vertical line to left (used as group markers for Gantt charts)
40
<li>MARK_RIGHTTRIANGLE, A half triangle, vertical line to right (used as group markers for Gantt charts)
41
<lI>MARK_FLASH, A Zig-Zag vertical flash
42
</ol>
43
 <p> &nbsp;
44
<div style="font-weight:bold;font-family:arial;font-size:85%;">See also related classes:</div><a href="LinePlot.html">LinePlot</a> and <a href="ScatterPlot.html">ScatterPlot</a> <p> &nbsp;<hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
45
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_PLOTMARK_HIDE"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
46
function&nbsp;Hide($aHide)</font>
47
</b></div></a></span>
48
 
49
<span style='font-family:arial;font-size:90%;'><i>Hide plot mark</i></span><p>
50
 
51
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
52
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
53
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
54
$aHide</font>
55
 
56
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
57
true</font>
58
</td><td>True=Hide plot mark</td></tr>
59
</table>
60
 
61
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Hide plot mark
62
&nbsp;<br>
63
 &nbsp; <div style="font-weight:bold;font-family:arial;font-size:85%;">See also</div><a href="PlotMark.html#_PLOTMARK_SHOW">PlotMark::Show</a>
64
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
65
$linerplot-&gt;mark-&gt;Hide();</font>
66
</span><br>
67
<p>
68
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_PLOTMARK_SETCALLBACK"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
69
function&nbsp;SetCallback($aFunc)</font>
70
</b></div></a></span>
71
 
72
<span style='font-family:arial;font-size:90%;'><i>Specify callback function for plotmark</i></span><p>
73
 
74
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
75
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
76
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
77
$aFunc</font>
78
 
79
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Function name</td></tr>
80
</table>
81
 
82
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Callback for plotmarks is only really used in one circumstance. Scatter plot. The callback can be used to individually adjust, sixe and color of the plot marks.
83
<p>
84
The specified callback function gets called with the Y-value for the current plotmark. The callback function should return an array consisting of three elements
85
<ol>
86
<li> Plot size
87
<li> Color
88
<li> Fill color
89
</ol>
90
&nbsp;<br>
91
 
92
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
93
function&nbsp;FCallback($aVal)&nbsp;{
<br />//&nbsp;This&nbsp;callback&nbsp;will&nbsp;adjust&nbsp;the&nbsp;fill&nbsp;color&nbsp;and&nbsp;size&nbsp;of
<br />//&nbsp;the&nbsp;datapoint&nbsp;according&nbsp;to&nbsp;the&nbsp;data&nbsp;value&nbsp;according&nbsp;to
<br />&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;$aVal&nbsp;&lt;&nbsp;30&nbsp;)&nbsp;$c&nbsp;=&nbsp;"blue";
<br />&nbsp;&nbsp;&nbsp;&nbsp;elseif(&nbsp;$aVal&nbsp;&lt;&nbsp;70&nbsp;)&nbsp;$c&nbsp;=&nbsp;"green";
<br />&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;$c="red";
<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;array(floor($aVal/3),"",$c);
<br />}
<br />
<br />...
<br />
<br />//&nbsp;Specify&nbsp;the&nbsp;callback
<br />$scatterplot-&gt;mark-&gt;SetCallback("FCallback");
<br />
<br />
<br /></font>
94
</span><br>
95
<p>
96
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_PLOTMARK_SETCALLBACKYX"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
97
function&nbsp;SetCallbackYX($aFunc)</font>
98
</b></div></a></span>
99
100
<span style='font-family:arial;font-size:90%;'><i>Specify callback function</i></span><p>
101
102
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
103
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
104
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
105
$aFunc</font>
106
107
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Callback function</td></tr>
108
</table>
109
110
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Callback for plotmarks is only really used in one circumstance. Scatter plot. The callback can be used to individually adjust, sixe and color of the plot marks.
111
<p>
112
The specified callback function gets called with the Y-value for the current plotmark. The callback function should return an array consisting of three elements
113
<ol>
114
 
115
<li> Color
116
 
117
</ol>
118
The difference from the ordinary SetCallback() is that the callback function specified in SetCallbackYX() gets passed both the Y and X coordinate (note the order!) as arguments.
119
&nbsp;<br>
120
121
 
122
function&nbsp;FCallback($aYVal,$aXVal)&nbsp;{
<br />&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Some&nbsp;code&nbsp;to&nbsp;the&nbsp;size&nbsp;and&nbsp;color
<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;array(&nbsp;...&nbsp;);
<br />}
<br />
<br />...
<br />
<br />//&nbsp;Specify&nbsp;the&nbsp;callback
<br />$scatterplot-&gt;mark-&gt;SetCallbackYX("FCallback");
<br />
<br />
<br /></font>
123
</span><br>
124
 
125
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_PLOTMARK_SETCOLOR"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
126
function&nbsp;SetColor($aColor)</font>
127
</b></div></a></span>
128
129
<span style='font-family:arial;font-size:90%;'><i>Specify color for plot mark</i></span><p>
130
131
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
132
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
133
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
134
$aColor</font>
135
 
136
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Color</td></tr>
137
</table>
138
139
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify the line color for plot mark
140
&nbsp;<br>
141
 &nbsp; <div style="font-weight:bold;font-family:arial;font-size:85%;">See also</div><a href="PlotMark.html#_PLOTMARK_SETFILLCOLOR">PlotMark::SetFillColor</a>
142
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
143
$lineplot-&gt;mark-&gt;SetColor('navy');
<br /></font>
144
</span><br>
145
<p>
146
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_PLOTMARK_SETDEFAULTWIDTH"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
147
function&nbsp;SetDefaultWidth()</font>
148
</b></div></a></span>
149
150
<span style='font-family:arial;font-size:90%;'><i>Restore default size of mark</i></span><p>
151
<br>
152
153
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Restore default size of mark&nbsp;<br>
154
 
155
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
156
 
157
</span><br>
158
<p>
159
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_PLOTMARK_SETFILLCOLOR"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
160
function&nbsp;SetFillColor($aFillColor)</font>
161
 
162
163
<span style='font-family:arial;font-size:90%;'><i>Set fill color for mark</i></span><p>
164
 
165
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
166
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
167
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
168
$aFillColor</font>
169
170
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Color</td></tr>
171
</table>
172
173
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Set fill color for mark&nbsp;<br>
174
 &nbsp; <div style="font-weight:bold;font-family:arial;font-size:85%;">See also</div><a href="PlotMark.html#_PLOTMARK_SETCOLOR">PlotMark::SetColor</a>
175
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
176
 
177
</span><br>
178
<p>
179
 
180
function&nbsp;SetSize($aWidth)</font>
181
 
182
183
<span style='font-family:arial;font-size:90%;'><i>Set size of mark</i></span><p>
184
185
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
186
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
187
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
188
$aWidth</font>
189
 
190
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>WIdth of mark in pixels</td></tr>
191
 
192
193
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Synonym for SetWidth()&nbsp;<br>
194
 &nbsp; <div style="font-weight:bold;font-family:arial;font-size:85%;">See also</div><a href="PlotMark.html#_PLOTMARK_SETWIDTH">PlotMark::SetWidth</a>
195
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
196
 
197
</span><br>
198
<p>
199
 
200
function&nbsp;SetType($aType,$aFileName,$aScale)</font>
201
</b></div></a></span>
202
203
<span style='font-family:arial;font-size:90%;'><i>Specify type of plot mark</i></span><p>
204
205
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
206
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
207
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
208
$aType</font>
209
210
 
211
212
 
213
$aFileName</font>
214
215
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
216
''</font>
217
 
218
219
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
220
 
221
222
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
223
1.0</font>
224
</td><td>Scaling of image</td></tr>
225
</table>
226
227
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>This method is used to specify what type of plotmarks should be be displayed. There are two classes of plotmarks. The first class is a number of different shapes and the second class is a number of built-in renderd images.
228
<p>
229
The following shape (the first class) plot marks are available
230
 
231
<ol>
232
 
233
<lI>MARK_UTRIANGLE, A triangle pointed upwards
234
<li>MARK_DTRIANGLE, A triangle pointed downwards
235
<li>MARK_DIAMOND, A diamond
236
<li>MARK_CIRCLE, A circle
237
 
238
<li>MARK_CROSS, A cross
239
 
240
<li>MARK_X, An 'X'
241
<li>MARK_IMAGE, Use the image specified with the filename and scale as the second and third argument as the mark.
242
 
243
</ol>
244
245
<p>
246
 
247
<p>
248
Note that some of the images are available in different sizes. The reason is that even though you can scale them by the third argument there is a visual degradation to scale an image larger than it's original size since some pixels needs to be interpolated. Reducing the size with a scale < 1.0 gives much better visual apperance.
249
 
250
The scaling works with both GD 1 and GD 2 but with GD 2 the quality of the scaling is much better.
251
<p>
252
Built-in images and available colors:
253
<table border=1>
254
 
255
<tr>
256
<td>MARK_IMG_PUSHPIN, MARK_IMG_SPUSHPIN</td>
257
<td> Push-pin image</td>
258
 
259
</tr>
260
<tr>
261
<td>MARK_IMG_LPUSHPIN</td>
262
<td> A larger Push-pin image</td>
263
<td>'red','blue','green','pink','orange'</td>
264
</tr>
265
<tr>
266
<td>MARK_IMG_BALL, MARK_IMAGE_SBALL</td>
267
<td>A round 3D rendered ball</td>
268
<td>'bluegreen','cyan','darkgray','greengray',
269
 'gray','graypurple','green','greenblue','lightblue',
270
 'lightred','navy','orange','purple','red','yellow'</td>
271
</tr>
272
 
273
<tr>
274
<td>MARK_IMAGE_MBALL</td>
275
<td>A medium sized round 3D rendered ball</td>
276
<td>
277
'blue','bluegreen','brown','cyan',
278
'darkgray','greengray','gray','green',
279
'greenblue','lightblue','lightred',
280
'purple','red','white','yellow'
281
</td>
282
</tr>
283
284
<tr>
285
<td>MARK_IMAGE_LBALL</td>
286
<td>A large sized round 3D rendered ball</td>
287
<td>
288
'blue','lightblue','brown','darkgreen',
289
'green','purple','red','gray','yellow','silver','gray'
290
</td>
291
<tr>
292
<td>MARK_IMAGE_SQUARE</td>
293
<td>A 3D rendered square</td>
294
<td>'bluegreen','blue','green',
295
'lightblue','orange','purple','red','yellow'</td>
296
</tr>
297
298
<tr>
299
<td>MARK_IMG_STAR</td>
300
 
301
<td>'bluegreen','lightblue','purple','blue','green','pink','red','yellow'</td>
302
</tr>
303
304
<tr>
305
<td>MARK_IMG_DIAMOND</td>
306
<td>A 3D rendered diamond</td>
307
<td>'lightblue','darkblue','gray',
308
'blue','pink','purple','red','yellow'</td>
309
</tr>
310
311
 
312
<td>MARK_IMG_BEVEL</td>
313
<td>A 3D rendered bevel style round ring</td>
314
<td>'green','purple','orange','red','yellow'</td>
315
</tr>
316
</table>
317
<p>
318
In terms of the builtin flags 230 countries are supported. The following table lists all available flags:
319
<p>
320
<table border=1>
321
<tr><td>1:    'Afghanistan' </td><td>2:    'Republic of Angola' </td></tr>
322
<tr><td>3:    'Republic of Albania' </td><td>4:    'Alderney' </td></tr>
323
<tr><td>5:    'Democratic and Popular Republic of Algeria' </td><td>6:    'Territory of American Samoa' </td></tr>
324
<tr><td>7:    'Principality of Andorra' </td><td>8:    'British Overseas Territory of Anguilla' </td></tr>
325
 
326
<tr><td>11:    'League of Arab States' </td><td>12:    'Republic of Armenia' </td></tr>
327
<tr><td>13:    'Aruba' </td><td>14:    'Commonwealth of Australia' </td></tr>
328
<tr><td>15:    'Republic of Austria' </td><td>16:    'Azerbaijani Republic' </td></tr>
329
<tr><td>17:    'British Antarctic Territory' </td><td>18:    'Kingdom of Belgium' </td></tr>
330
<tr><td>19:    'British Overseas Territory of Bermuda' </td><td>20:    'Commonwealth of the Bahamas' </td></tr>
331
 
332
<tr><td>23:    'Republic of Bolivia' </td><td>24:    'Belize' </td></tr>
333
<tr><td>25:    'Republic of Benin' </td><td>26:    'Republic of Botswana' </td></tr>
334
<tr><td>27:    'Federative Republic of Brazil' </td><td>28:    'Barbados' </td></tr>
335
<tr><td>29:    'British Indian Ocean Territory' </td><td>30:    'Brunei Darussalam' </td></tr>
336
<tr><td>31:    'Republic of Burkina' </td><td>32:    'Republic of Bulgaria' </td></tr>
337
<tr><td>33:    'Republic of Burundi' </td><td>34:    'Overseas Territory of the British Virgin Islands' </td></tr>
338
 
339
<tr><td>37:    'Republic of Cameroon' </td><td>38:    'Dominion of Canada' </td></tr>
340
<tr><td>39:    'Caribbean Community' </td><td>40:    'Republic of Cape Verde' </td></tr>
341
<tr><td>41:    'Republic of Chad' </td><td>42:    'Republic of Chile' </td></tr>
342
<tr><td>43:    'Territory of Christmas Island' </td><td>44:    'Commonwealth of Independent States' </td></tr>
343
<tr><td>45:    'Cook Islands' </td><td>46:    'Republic of Colombia' </td></tr>
344
<tr><td>47:    'Territory of Cocos Islands' </td><td>48:    'Commonwealth' </td></tr>
345
<tr><td>49:    'Union of the Comoros' </td><td>50:    'Republic of the Congo' </td></tr>
346
<tr><td>51:    'Republic of Costa Rica' </td><td>52:    'Republic of Croatia' </td></tr>
347
<tr><td>53:    'Republic of Cuba' </td><td>54:    'British Overseas Territory of the Cayman Islands' </td></tr>
348
<tr><td>55:    'Republic of Cyprus' </td><td>56:    'The Czech Republic' </td></tr>
349
<tr><td>57:    'Kingdom of Denmark' </td><td>58:    'Republic of Djibouti' </td></tr>
350
<tr><td>59:    'Commonwealth of Dominica' </td><td>60:    'Dominican Republic' </td></tr>
351
<tr><td>61:    'Republic of Ecuador' </td><td>62:    'Arab Republic of Egypt' </td></tr>
352
<tr><td>63:    'Republic of El Salvador' </td><td>64:    'England' </td></tr>
353
<tr><td>65:    'Republic of Equatorial Guinea' </td><td>66:    'State of Eritrea' </td></tr>
354
<tr><td>67:    'Republic of Estonia' </td><td>68:    'Ethiopia' </td></tr>
355
<tr><td>69:    'European Union' </td><td>70:    'British Overseas Territory of the Falkland Islands' </td></tr>
356
<tr><td>71:    'International Federation of Vexillological Associations' </td><td>72:    'Republic of Fiji' </td></tr>
357
<tr><td>73:    'Republic of Finland' </td><td>74:    'Territory of French Polynesia' </td></tr>
358
<tr><td>75:    'French Republic' </td><td>76:    'Overseas Department of French Guiana' </td></tr>
359
<tr><td>77:    'Gabonese Republic' </td><td>78:    'Republic of the Gambia' </td></tr>
360
<tr><td>79:    'Republic of Georgia' </td><td>80:    'Federal Republic of Germany' </td></tr>
361
<tr><td>81:    'Republic of Ghana' </td><td>82:    'Gibraltar' </td></tr>
362
<tr><td>83:    'Hellenic Republic' </td><td>84:    'State of Grenada' </td></tr>
363
<tr><td>85:    'Overseas Department of Guadeloupe' </td><td>86:    'Territory of Guam' </td></tr>
364
<tr><td>87:    'Republic of Guatemala' </td><td>88:    'The Bailiwick of Guernsey' </td></tr>
365
<tr><td>89:    'Republic of Guinea' </td><td>90:    'Republic of Haiti' </td></tr>
366
<tr><td>91:    'Hong Kong Special Administrative Region' </td><td>92:    'Republic of Honduras' </td></tr>
367
<tr><td>93:    'Republic of Hungary' </td><td>94:    'Republic of Iceland' </td></tr>
368
<tr><td>95:    'International Committee of the Red Cross' </td><td>96:    'Republic of India' </td></tr>
369
<tr><td>97:    'Republic of Indonesia' </td><td>98:    'Republic of Iraq' </td></tr>
370
<tr><td>99:    'Republic of Ireland' </td><td>100:    'Organization of the Islamic Conference' </td></tr>
371
<tr><td>101:    'Isle of Man' </td><td>102:    'State of Israel' </td></tr>
372
<tr><td>103:    'Italian Republic' </td><td>104:    'Jamaica' </td></tr>
373
<tr><td>105:    'Japan' </td><td>106:    'The Bailiwick of Jersey' </td></tr>
374
<tr><td>107:    'Hashemite Kingdom of Jordan' </td><td>108:    'Republic of Kazakhstan' </td></tr>
375
<tr><td>109:    'Republic of Kenya' </td><td>110:    'Republic of Kiribati' </td></tr>
376
<tr><td>111:    'State of Kuwait' </td><td>112:    'Kyrgyz Republic' </td></tr>
377
<tr><td>113:    'Republic of Latvia' </td><td>114:    'Lebanese Republic' </td></tr>
378
<tr><td>115:    'Kingdom of Lesotho' </td><td>116:    'Republic of Liberia' </td></tr>
379
<tr><td>117:    'Principality of Liechtenstein' </td><td>118:    'Republic of Lithuania' </td></tr>
380
<tr><td>119:    'Grand Duchy of Luxembourg' </td><td>120:    'Macao Special Administrative Region' </td></tr>
381
<tr><td>121:    'Republic of Macedonia' </td><td>122:    'Republic of Madagascar' </td></tr>
382
<tr><td>123:    'Republic of the Marshall Islands' </td><td>124:    'Republic of Mali' </td></tr>
383
<tr><td>125:    'Federation of Malaysia' </td><td>126:    'Republic of Malta' </td></tr>
384
<tr><td>127:    'Republic of Malawi' </td><td>128:    'Overseas Department of Martinique' </td></tr>
385
<tr><td>129:    'Islamic Republic of Mauritania' </td><td>130:    'Territorial Collectivity of Mayotte' </td></tr>
386
<tr><td>131:    'United Mexican States' </td><td>132:    'Federated States of Micronesia' </td></tr>
387
<tr><td>133:    'Midway Islands' </td><td>134:    'Republic of Moldova' </td></tr>
388
<tr><td>135:    'Principality of Monaco' </td><td>136:    'Republic of Mongolia' </td></tr>
389
<tr><td>137:    'British Overseas Territory of Montserrat' </td><td>138:    'Kingdom of Morocco' </td></tr>
390
<tr><td>139:    'Republic of Mozambique' </td><td>140:    'Republic of Mauritius' </td></tr>
391
<tr><td>141:    'Union of Myanmar' </td><td>142:    'Republic of Namibia' </td></tr>
392
<tr><td>143:    'North Atlantic Treaty Organization' </td><td>144:    'Republic of Nauru' </td></tr>
393
<tr><td>145:    'Turkish Republic of Northern Cyprus' </td><td>146:    'Netherlands Antilles' </td></tr>
394
<tr><td>147:    'Kingdom of Nepal' </td><td>148:    'Kingdom of the Netherlands' </td></tr>
395
<tr><td>149:    'Territory of Norfolk Island' </td><td>150:    'Federal Republic of Nigeria' </td></tr>
396
<tr><td>151:    'Republic of Nicaragua' </td><td>152:    'Republic of Niger' </td></tr>
397
<tr><td>153:    'Niue' </td><td>154:    'Commonwealth of the Northern Mariana Islands' </td></tr>
398
<tr><td>155:    'Province of Northern Ireland' </td><td>156:    'Nordic Council' </td></tr>
399
<tr><td>157:    'Kingdom of Norway' </td><td>158:    'Territory of New Caledonia and Dependencies' </td></tr>
400
<tr><td>159:    'New Zealand' </td><td>160:    'Organization of American States' </td></tr>
401
<tr><td>161:    'Organization of African Unity' </td><td>162:    'International Olympic Committee' </td></tr>
402
<tr><td>163:    'Sultanate of Oman' </td><td>164:    'Islamic Republic of Pakistan' </td></tr>
403
<tr><td>165:    'Republic of Palau' </td><td>166:    'Independent State of Papua New Guinea' </td></tr>
404
<tr><td>167:    'Republic of Paraguay' </td><td>168:    'Republic of the Philippines' </td></tr>
405
<tr><td>169:    'British Overseas Territory of the Pitcairn Islands' </td><td>170:    'Republic of Poland' </td></tr>
406
<tr><td>171:    'Republic of Portugal' </td><td>172:    'Commonwealth of Puerto Rico' </td></tr>
407
<tr><td>173:    'State of Qatar' </td><td>174:    'Russian Federation' </td></tr>
408
<tr><td>175:    'Republic of Rwanda' </td><td>176:    'Kingdom of Saudi Arabia' </td></tr>
409
<tr><td>177:    'Republic of San Marino' </td><td>178:    'Nordic Sami Conference' </td></tr>
410
<tr><td>179:    'Sark' </td><td>180:    'Scotland' </td></tr>
411
<tr><td>181:    'Principality of Seborga' </td><td>182:    'Republic of Sierra Leone' </td></tr>
412
<tr><td>183:    'Republic of Singapore' </td><td>184:    'Republic of Korea' </td></tr>
413
<tr><td>185:    'Republic of Slovenia' </td><td>186:    'Somali Republic' </td></tr>
414
<tr><td>187:    'Republic of Somaliland' </td><td>188:    'Republic of South Africa' </td></tr>
415
<tr><td>189:    'Solomon Islands' </td><td>190:    'Kingdom of Spain' </td></tr>
416
<tr><td>191:    'Secretariat of the Pacific Community' </td><td>192:    'Democratic Socialist Republic of Sri Lanka' </td></tr>
417
<tr><td>193:    'Saint Lucia' </td><td>194:    'Republic of the Sudan' </td></tr>
418
<tr><td>195:    'Republic of Suriname' </td><td>196:    'Slovak Republic' </td></tr>
419
<tr><td>197:    'Kingdom of Sweden' </td><td>198:    'Swiss Confederation' </td></tr>
420
<tr><td>199:    'Syrian Arab Republic' </td><td>200:    'Kingdom of Swaziland' </td></tr>
421
<tr><td>201:    'Republic of China' </td><td>202:    'Republic of Tajikistan' </td></tr>
422
<tr><td>203:    'United Republic of Tanzania' </td><td>204:    'Kingdom of Thailand' </td></tr>
423
<tr><td>205:    'Autonomous Region of Tibet' </td><td>206:    'Turkmenistan' </td></tr>
424
<tr><td>207:    'Togolese Republic' </td><td>208:    'Tokelau' </td></tr>
425
<tr><td>209:    'Kingdom of Tonga' </td><td>210:    'Tristan da Cunha' </td></tr>
426
<tr><td>211:    'Tromelin' </td><td>212:    'Republic of Tunisia' </td></tr>
427
<tr><td>213:    'Republic of Turkey' </td><td>214:    'Tuvalu' </td></tr>
428
<tr><td>215:    'United Arab Emirates' </td><td>216:    'Republic of Uganda' </td></tr>
429
<tr><td>217:    'Ukraine' </td><td>218:    'United Kingdom of Great Britain' </td></tr>
430
<tr><td>219:    'United Nations' </td><td>220:    'United States of America' </td></tr>
431
<tr><td>221:    'Oriental Republic of Uruguay' </td><td>222:    'Virgin Islands of the United States' </td></tr>
432
<tr><td>223:    'Republic of Uzbekistan' </td><td>224:    'State of the Vatican City' </td></tr>
433
<tr><td>225:    'Republic of Vanuatu' </td><td>226:    'Bolivarian Republic of Venezuela' </td></tr>
434
<tr><td>227:    'Republic of Yemen' </td><td>228:    'Democratic Republic of Congo' </td></tr>
435
<tr><td>229:    'Republic of Zimbabwe' </td>
436
</table>
437
438
&nbsp;<br>
439
440
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
441
//&nbsp;A&nbsp;standard&nbsp;shape
<br />$lineplot-&gt;mark-&gt;SetType(MARK_FILLEDCIRCLE);
<br />$lineplot-&gt;mark-&gt;Show();
<br />
<br />//&nbsp;Use&nbsp;image&nbsp;in&nbsp;file&nbsp;'mark.jpg'&nbsp;as&nbsp;mark.,&nbsp;aslo&nbsp;scale&nbsp;it&nbsp;to
<br />//&nbsp;half&nbsp;the&nbsp;size
<br />$lineplot-&gt;mark-&gt;SetType(MARK_IMAGE,'mark.jpg',0.5);
<br />$lineplot-&gt;mark-&gt;Show();
<br />
<br />//&nbsp;Using&nbsp;the&nbsp;built-in&nbsp;image&nbsp;diamond&nbsp;in&nbsp;yellow&nbsp;color&nbsp;and&nbsp;70%&nbsp;of&nbsp;originally&nbsp;size
<br />$lineplot-&gt;mark-&gt;SetType(MARK_IMG_DIAMOND,&nbsp;'yellow',&nbsp;0.7);
<br />$lineplot-&gt;mark-&gt;Show();
<br />
<br />//&nbsp;Setting&nbsp;the&nbsp;plotmarks&nbsp;to&nbsp;a&nbsp;Swedish&nbsp;flag&nbsp;showing&nbsp;the&nbsp;three
<br />//&nbsp;ways&nbsp;of&nbsp;doing&nbsp;it
<br />....
<br />$p1-&gt;mark-&gt;SetType(MARK_FLAG1,'sweden');
<br />//&nbsp;OR
<br />$p1-&gt;mark-&gt;SetType(MARK_FLAG1,197);
<br />//&nbsp;OR
<br />$p1-&gt;mark-&gt;SetType(MARK_FLAG1,'Kingdom&nbsp;of&nbsp;Sweden');
<br />
<br /></font>
442
</span><br>
443
<p>
444
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_PLOTMARK_SETWEIGHT"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
445
function&nbsp;SetWeight($aWeight)</font>
446
</b></div></a></span>
447
448
<span style='font-family:arial;font-size:90%;'><i>Specify line weight</i></span><p>
449
450
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
451
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
452
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
453
$aWeight</font>
454
455
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Line weight</td></tr>
456
</table>
457
458
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify line weight&nbsp;<br>
459
460
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
461
$line-&gt;mark-&gt;SetWeight(2);</font>
462
</span><br>
463
<p>
464
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_PLOTMARK_SETWIDTH"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
465
 
466
</b></div></a></span>
467
 
468
<span style='font-family:arial;font-size:90%;'><i>Set width of plot mark</i></span><p>
469
470
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
471
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
472
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
473
$aWidth</font>
474
475
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Width in pixels</td></tr>
476
</table>
477
478
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Set width of plot mark&nbsp;<br>
479
480
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
481
$lineplot-&gt;mark-&gt;SetWidth(10);
<br /></font>
482
</span><br>
483
<p>
484
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_PLOTMARK_SHOW"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
485
function&nbsp;Show($aShow)</font>
486
</b></div></a></span>
487
488
<span style='font-family:arial;font-size:90%;'><i>Enable or disable plotmarks</i></span><p>
489
490
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
491
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
492
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
493
$aShow</font>
494
495
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
496
true</font>
497
 
498
</table>
499
 
500
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Enable or disable plotmarks. By default plot marks are not shown so if you want to display them you need to use this method.
501
&nbsp;<br>
502
503
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
504
 
505
</span><br>
506
<p> <hr> <p>