LogTicks.html
5.62 KB
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><style type="text/css">
<!--
A:link {font-family: helvetica, arial, geneva, sans-serif; font-size: small; text-decoration: none; color: #000000}
A:visited {font-family: helvetica, arial, geneva, sans-serif; font-size: small; text-decoration: none; color: #000000}
A:hover {font-family: helvetica, arial, geneva, sans-serif; font-size: small; text-decoration: underline; color: #FF0000}
A.no:link {font-family:inherit; font-size: inhreit;text-decoration: none; color: #000000}
A.no:visited {font-family:inherit; font-size: inherit;text-decoration: none; color: #000000}
A.no:hover {font-family:inherit; font-size: inherit;text-decoration: none; color: #000000}
th {font-family: helvetica, arial; color : black; font-size:90%; background : #b7c8b7; border-right:black solid 1pt; border-bottom:black solid 1pt;}
td {font-family: helvetica, arial; color : black; font-size:90%; background : white; border-right:black solid 1pt; border-bottom:black solid 1pt;}
//-->
</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_LOGTICKS"><b>LogTicks</b></a> Extends <a style="font-size:14pt;text-decoration:underline;"href="Ticks.html#_C_TICKS" style="font-face:arial;font-weight:bold;">Ticks</a></div>
<i>(Defined in: jpgraph_log.php : 129)</i><br> <br><table cellspaceing=0 cellpadding=4 style="border:solid #303030 1px;"><tr><td align="center" style="background:lightgray;" > <a href="LogTicks.html" style="font-family:arial;font-weight:bold;color:darkblue;">LogTicks</a> </td><td align="center" style="background:lightgray;" > <a href="Ticks.html" style="font-family:arial;font-weight:bold;color:darkblue;">Ticks</a> </td></tr><tr><td valign=top> <a href="LogTicks.html#_LOGTICKS_SETLABELLOGTYPE">SetLabelLogType()</a> <br>
</td><td valign=top> <a href="Ticks.html#_TICKS_SETCOLOR">SetColor()</a> <br>
<a href="Ticks.html#_TICKS_SETFORMATCALLBACK">SetFormatCallback()</a> <br>
<a href="Ticks.html#_TICKS_SETLABELFORMAT">SetLabelFormat()</a> <br>
<a href="Ticks.html#_TICKS_SETSIDE">SetSide()</a> <br>
<a href="Ticks.html#_TICKS_SETSIZE">SetSize()</a> <br>
<a href="Ticks.html#_TICKS_SETWEIGHT">SetWeight()</a> <br>
<a href="Ticks.html#_TICKS_SUPRESSFIRST">SupressFirst()</a> <br>
<a href="Ticks.html#_TICKS_SUPRESSLAST">SupressLast()</a> <br>
<a href="Ticks.html#_TICKS_SUPRESSMINORTICKMARKS">SupressMinorTickMarks()</a> <br>
<a href="Ticks.html#_TICKS_SUPRESSTICKMARKS">SupressTickMarks()</a> <br>
<a href="Ticks.html#_TICKS_SUPRESSZEROLABEL">SupressZeroLabel()</a> <br>
</td></tr></table> <p><div style="font-weight:bold;font-family:arial;font-size:100%;">Class usage and Overview</div>This class represents ticks on a logarithmic scale axis. It is responsible for drawing and positioning ticks. <p>
<div style="font-weight:bold;font-family:arial;font-size:85%;">See also related classes:</div><a href="LogScale.html">LogScale</a> and <a href="Axis.html">Axis</a> <p> <hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
<p> <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="_LOGTICKS_SETLABELLOGTYPE"><span style="color:#555555;">LogTicks ::</span><br><b>SetLabelLogType</b>($aType)</a></div>
<span style='font-family:arial;font-size:95%;'><i>Should the log labels be dispalyed with magnitudes ot plain numbers</i></span><p>
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
<span style="color: #0000BB">$aType</span>
</span>
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>Magnitude (10^x) or plain</td></tr>
</table>
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>Specify how labels for log scales should be formatted as magnitude (scientific) or plain.
<p>
$aType can be either
<ul>
<li> LOGLABELS_PLAIN, will show labels as for example 10000
<li> LOGLABELS_MAGNITUDE, will show labels as 10^4
</ul>
By default log scale uses magnitude type of labels.
<br>
<div style="font-weight:bold;font-family:arial;font-size:90%;"><p>Example:</div><div style="padding:5px;border:dashed gray 1px;background-color:#f3f3f3;font-family:courier new;font-size:90%;font-weight:bold;"><b><span style="color: #000000">
<span style="color: #0000BB">$graph</span><span style="color: #007700">-></span><span style="color: #0000BB">yaxis</span><span style="color: #007700">-></span><span style="color: #0000BB">scale</span><span style="color: #007700">-></span><span style="color: #0000BB">ticks</span><span style="color: #007700">-></span><span style="color: #0000BB">SetLabelLogType</span><span style="color: #007700">(</span><span style="color: #0000BB">LOGLABELS_PLAIN</span><span style="color: #007700">);</span><span style="color: #0000BB"></span>
</span>
</b></div><br>
<p> <hr> <p></html>