PageRenderTime 30ms CodeModel.GetById 13ms app.highlight 12ms RepoModel.GetById 2ms app.codeStats 0ms

/jpgraph/docs/classref/Contour.html

https://gitlab.com/track-iot/ui
HTML | 230 lines | 161 code | 58 blank | 11 comment | 0 complexity | bffdf953a6552d7231558833bf3e624b MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><style type="text/css">
  2		<!--
  3		A:link        {font-family: helvetica, arial, geneva, sans-serif; font-size: small; text-decoration: none; color: #000000}
  4		A:visited     {font-family: helvetica, arial, geneva, sans-serif; font-size: small; text-decoration: none; color: #000000}
  5		A:hover       {font-family: helvetica, arial, geneva, sans-serif; font-size: small; text-decoration: underline; color: #FF0000}
  6        A.no:link        {font-family:inherit; font-size: inhreit;text-decoration: none; color: #000000}
  7        A.no:visited     {font-family:inherit; font-size: inherit;text-decoration: none; color: #000000}
  8        A.no:hover       {font-family:inherit; font-size: inherit;text-decoration: none; color: #000000}
  9		th            {font-family: helvetica, arial; color : black; font-size:90%; background : #b7c8b7; border-right:black solid 1pt; border-bottom:black solid 1pt;}
 10        td            {font-family: helvetica, arial; color : black; font-size:90%; background : white; border-right:black solid 1pt; border-bottom:black solid 1pt;}
 11
 12		//-->
 13		</style></HEAD><hr><div style="padding-left:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;background-color:#deaa87;font-family:courier new;font-size:16pt;">Class <a class="no" name="_C_CONTOUR"><b>Contour</b></a></div>
 14<i>(Defined in: jpgraph_contour.php : 22)</i><br>&nbsp;<br><table cellspaceing=0 cellpadding=4 style="border:solid #303030 1px;"><tr><td align="center" style="background:lightgray;" >&nbsp;<a href="Contour.html" style="font-family:arial;font-weight:bold;color:darkblue;">Contour</a>&nbsp;</td></tr><tr><td valign=top>&nbsp;<a href="Contour.html#_CONTOUR_ADJUSTDATAPOINTVALUES">adjustDataPointValues()</a>&nbsp;<br>
 15&nbsp;<a href="Contour.html#_CONTOUR_CALCULATECOLORS">CalculateColors()</a>&nbsp;<br>
 16&nbsp;<a href="Contour.html#_CONTOUR_DETERMINEISOBAREDGECROSSINGS">determineIsobarEdgeCrossings()</a>&nbsp;<br>
 17&nbsp;<a href="Contour.html#_CONTOUR_GETCROSSINGCOORD">getCrossingCoord()</a>&nbsp;<br>
 18&nbsp;<a href="Contour.html#_CONTOUR_GETISOBARS">getIsobars()</a>&nbsp;<br>
 19&nbsp;<a href="Contour.html#_CONTOUR_GETMINMAXVAL">getMinMaxVal()</a>&nbsp;<br>
 20&nbsp;<a href="Contour.html#_CONTOUR_ISOBARHCROSSING">isobarHCrossing()</a>&nbsp;<br>
 21&nbsp;<a href="Contour.html#_CONTOUR_ISOBARVCROSSING">isobarVCrossing()</a>&nbsp;<br>
 22&nbsp;<a href="Contour.html#_CONTOUR_RESETEDGEMATRICES">resetEdgeMatrices()</a>&nbsp;<br>
 23&nbsp;<a href="Contour.html#_CONTOUR_SETINVERT">SetInvert()</a>&nbsp;<br>
 24&nbsp;<a href="Contour.html#_CONTOUR_USEHIGHCONTRASTCOLOR">UseHighContrastColor()</a>&nbsp;<br>
 25&nbsp;<a href="Contour.html#_CONTOUR___CONSTRUCT">__construct()</a>&nbsp;<br>
 26</td></tr></table>&nbsp;<p><div style="font-weight:bold;font-family:arial;font-size:100%;">Class usage and Overview</div> <p> &nbsp;
 27<hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
 28<p> &nbsp; <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_CONTOUR_ADJUSTDATAPOINTVALUES"><span style="color:#555555;">Contour ::</span><br><b>adjustDataPointValues</b>()</a></div>
 29
 30<span style='font-family:arial;font-size:95%;'><i>// In order to avoid numerical problem when two vertices are very close// we have to check and avoid dividing by close to zero denumerator.</i></span><p>
 31<br>
 32
 33<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
 34<p> &nbsp; <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_CONTOUR_CALCULATECOLORS"><span style="color:#555555;">Contour ::</span><br><b>CalculateColors</b>()</a></div>
 35
 36<span style='font-family:arial;font-size:95%;'><i></i></span><p>
 37<br>
 38
 39<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
 40<p> &nbsp; <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_CONTOUR_DETERMINEISOBAREDGECROSSINGS"><span style="color:#555555;">Contour ::</span><br><b>determineIsobarEdgeCrossings</b>($aIsobar)</a></div>
 41
 42<span style='font-family:arial;font-size:95%;'><i>//'isobarVCrossing: Col index too large</i></span><p>
 43
 44<table cellspacing=0 style='border:black solid 1pt;' width=100%>
 45<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
 46<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
 47<span style="color: #0000BB">$aIsobar</span>
 48</span>
 49
 50</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'>&nbsp;</td><td>No description available</td></tr>
 51</table>
 52
 53<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
 54<p> &nbsp; <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_CONTOUR_GETCROSSINGCOORD"><span style="color:#555555;">Contour ::</span><br><b>getCrossingCoord</b>($aRow, $aCol, $aEdgeDir, $aIsobarVal)</a></div>
 55
 56<span style='font-family:arial;font-size:95%;'><i>// We now have the bottom and rightmost edges unsearched</i></span><p>
 57
 58<table cellspacing=0 style='border:black solid 1pt;' width=100%>
 59<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
 60<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
 61<span style="color: #0000BB">$aRow</span>
 62</span>
 63
 64</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'>&nbsp;</td><td>No description available</td></tr>
 65
 66<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
 67<span style="color: #0000BB">$aCol</span>
 68</span>
 69
 70</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'>&nbsp;</td><td>No description available</td></tr>
 71
 72<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
 73<span style="color: #0000BB">$aEdgeDir</span>
 74</span>
 75
 76</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'>&nbsp;</td><td>No description available</td></tr>
 77
 78<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
 79<span style="color: #0000BB">$aIsobarVal</span>
 80</span>
 81
 82</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'>&nbsp;</td><td>No description available</td></tr>
 83</table>
 84
 85<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
 86<p> &nbsp; <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_CONTOUR_GETISOBARS"><span style="color:#555555;">Contour ::</span><br><b>getIsobars</b>()</a></div>
 87
 88<span style='font-family:arial;font-size:95%;'><i>// Use only blue/red scale</i></span><p>
 89<br>
 90
 91<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
 92<p> &nbsp; <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_CONTOUR_GETMINMAXVAL"><span style="color:#555555;">Contour ::</span><br><b>getMinMaxVal</b>()</a></div>
 93
 94<span style='font-family:arial;font-size:95%;'><i></i></span><p>
 95<br>
 96
 97<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
 98<p> &nbsp; <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_CONTOUR_ISOBARHCROSSING"><span style="color:#555555;">Contour ::</span><br><b>isobarHCrossing</b>($aRow, $aCol, $aIsobar)</a></div>
 99
100<span style='font-family:arial;font-size:95%;'><i></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:100%;font-weight:bold;'><span style="color: #000000">
105<span style="color: #0000BB">$aRow</span>
106</span>
107
108</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'>&nbsp;</td><td>No description available</td></tr>
109
110<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
111<span style="color: #0000BB">$aCol</span>
112</span>
113
114</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'>&nbsp;</td><td>No description available</td></tr>
115
116<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
117<span style="color: #0000BB">$aIsobar</span>
118</span>
119
120</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'>&nbsp;</td><td>No description available</td></tr>
121</table>
122
123<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
124<p> &nbsp; <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_CONTOUR_ISOBARVCROSSING"><span style="color:#555555;">Contour ::</span><br><b>isobarVCrossing</b>($aRow, $aCol, $aIsobar)</a></div>
125
126<span style='font-family:arial;font-size:95%;'><i>//'ContourPlot Internal Error: isobarHCrossing: Row index too large (%d)'</i></span><p>
127
128<table cellspacing=0 style='border:black solid 1pt;' width=100%>
129<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
130<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
131<span style="color: #0000BB">$aRow</span>
132</span>
133
134</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'>&nbsp;</td><td>No description available</td></tr>
135
136<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
137<span style="color: #0000BB">$aCol</span>
138</span>
139
140</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'>&nbsp;</td><td>No description available</td></tr>
141
142<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
143<span style="color: #0000BB">$aIsobar</span>
144</span>
145
146</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'>&nbsp;</td><td>No description available</td></tr>
147</table>
148
149<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
150<p> &nbsp; <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_CONTOUR_RESETEDGEMATRICES"><span style="color:#555555;">Contour ::</span><br><b>resetEdgeMatrices</b>()</a></div>
151
152<span style='font-family:arial;font-size:95%;'><i></i></span><p>
153<br>
154
155<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
156<p> &nbsp; <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_CONTOUR_SETINVERT"><span style="color:#555555;">Contour ::</span><br><b>SetInvert</b>($aFlg)</a></div>
157
158<span style='font-family:arial;font-size:95%;'><i>//'Number of colors must equal the number of isobar lines specified';</i></span><p>
159
160<table cellspacing=0 style='border:black solid 1pt;' width=100%>
161<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
162<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
163<span style="color: #0000BB">$aFlg</span>
164</span>
165
166</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
167<span style="color: #0000BB">true</span>
168</span>
169</td><td>No description available</td></tr>
170</table>
171
172<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
173<p> &nbsp; <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_CONTOUR_USEHIGHCONTRASTCOLOR"><span style="color:#555555;">Contour ::</span><br><b>UseHighContrastColor</b>($aFlg, $aBW)</a></div>
174
175<span style='font-family:arial;font-size:95%;'><i></i></span><p>
176
177<table cellspacing=0 style='border:black solid 1pt;' width=100%>
178<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
179<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
180<span style="color: #0000BB">$aFlg</span>
181</span>
182
183</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
184<span style="color: #0000BB">true</span>
185</span>
186</td><td>No description available</td></tr>
187
188<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
189<span style="color: #0000BB">$aBW</span>
190</span>
191
192</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
193<span style="color: #0000BB">false</span>
194</span>
195</td><td>No description available</td></tr>
196</table>
197
198<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
199<p> &nbsp; <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_CONTOUR___CONSTRUCT"><span style="color:#555555;">Contour ::</span><br><b>__construct</b>($aMatrix, $aIsobars, $aColors)</a></div>
200
201<span style='font-family:arial;font-size:95%;'><i>// File:        JPGRAPH_CONTOUR.PHP// Description: Contour plot// Created:     2009-03-08// Ver:         $Id: jpgraph_contour.php 1576 2009-07-13 10:35:22Z ljp $//// Copyright (c) Aditus Consulting. All rights reserved.//==================================</i></span><p>
202
203<table cellspacing=0 style='border:black solid 1pt;' width=100%>
204<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
205<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
206<span style="color: #0000BB">$aMatrix</span>
207</span>
208
209</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'>&nbsp;</td><td>No description available</td></tr>
210
211<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
212<span style="color: #0000BB">$aIsobars</span>
213</span>
214
215</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
216<span style="color: #0000BB">10</span>
217</span>
218</td><td>No description available</td></tr>
219
220<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
221<span style="color: #0000BB">$aColors</span>
222</span>
223
224</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
225<span style="color: #0000BB">null</span>
226</span>
227</td><td>No description available</td></tr>
228</table>
229
230<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p> <hr> <p></html>