scalgraph2ΒΆ
- Purpose:
Draw a graphic scale.
- Syntax:
scalgraph2(sfac, magnitude)
scalgraph2(sfac, magnitude, plotpar)
- Description:
scalgraph2draws a graphic scale to visualize the magnitude of displayed computational results. The input variablesfacis a scale factor determined by the functionscalfact2. The variablemagnitudeis defined as \([S\;\;x\;\;y]\), where \(S\) specifies the value corresponding to the length of the graphic scale, and \((x, y)\) are the coordinates of the starting point. If no coordinates are given, the starting point will be \((0, -0.5)\).The variable
plotparsets the graphic scale color:plotpar\(= [color]\)where
\(color\)
1
black
2
blue
3
magenta
4
red