scalgraph2ΒΆ

Purpose:

Draw a graphic scale.

Syntax:

scalgraph2(sfac, magnitude)
scalgraph2(sfac, magnitude, plotpar)
Description:

scalgraph2 draws a graphic scale to visualize the magnitude of displayed computational results. The input variable sfac is a scale factor determined by the function scalfact2. The variable magnitude is 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 plotpar sets the graphic scale color:

plotpar\(= [color]\)

where

\(color\)

1

black

2

blue

3

magenta

4

red