📄 notes.htm
字号:
<html>
<head>
<title>SGraph notes</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta NAME="AUTHOR" CONTENT="S.P.Pod'yachev">
</head>
<body background="white.gif">
<h2><img height="1" width="1" src="http://counter.list.ru/counter?id=15599" alt> <!--LIST100 COUNTER-->SGraph
selected notes</h2>
<p><a HREF="#Axis limits">Axis limits</a> <br>
<a HREF="#Data series">Data series</a> <br>
<a href="#Plot markers">Plot markers</a><br>
<a HREF="#Plot drawing">Plot drawing</a> <br>
<a HREF="#Print">Plot print</a><br>
<a HREF="#Real Time">Real Time Graphing</a><br>
<p><a HREF="sgraph.htm">SGraph description</a><br>
</p>
<h3><a NAME="Axis limits"></a>Axis limits</h3>
<p>The Tsp_Axis has properties and method to control axis limits.</p>
<p><tt>property <strong>Min</strong> : double</tt> <br>
<small>Min is the lowest value an axis</small><br>
<tt>property <strong>Max</strong> : double</tt> <br>
<small>Max is the highest value an axis</small> <br>
<tt>procedure <strong>SetMinMax</strong>(m1,m2:double);</tt><br>
<small>Used to set Min and Max at once. The minimal value of the m1 and m2 will be
assigned to the Min and maximal to the Max.<br>
</small><tt>procedure <strong>MoveMinMax</strong>(aDelta:double); </tt><br>
<small>Used to change Min and Max on value of aDelta with 'frozen' ticks position.The aim
is to permit smooth scroll of plot, without ticks jumps. Procedure is especially useful
for the program which emulates transient recorder. </small><br>
<tt>property <strong>AutoMin</strong> : boolean default False</tt> <br>
<small>The AutoMin property controls if axis will adjust the Min value automatically to
based on the minimum value of its associated data series.</small><br>
<tt>property <strong>AutoMax</strong> : boolean</tt> <br>
<small>The AutoMax property controls if axis will adjust the Max value automatically to
based on the maximum value of its associated data series.</small></p>
<p>There are some <U>features</U>. Suppose we try to set new value to the Min, while this
value greater then current Max, this value will be assigned to the Max instead of Min. If
then you set new value to Max you will have incorrect Min value (Min value did not
changed). To avoid this problem, use <tt>SetMinMax</tt> method, if you want to assign
arbitrary values to the Min and Max at once. Notice, changing properties Min or/and Max
will reset the AutoMin or/and AutoMax to False.</p>
<p>The axis limits also changed after zooming or panning of the plot by the mouse
(z&p). This processes did not change AutoMin and AutoMax. Shift+Click on the plot will
restore limits after z&p if properties Min and Max was not changed by another way
after z&p.</p>
<h3><a Name="Data series"></a><a> Data series </h3>
<p>There are no many kinds of data series. But you can write it yourself, and they will
match your needs. Inherit it from Tsp_DataSeries component and implement 1 procedure and 4
functions: <br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -