GINO Graphics Suite - GINO v9.0  

gSetStrExponent

Syntax

[C/C++:]
void gSetStrExponent(float relcw, float relch, float posexp, float posind);
[F90:]
subroutine gSetStrExponent(relcw, relch, posexp, posind)
real, intent(in) :: relcw,relch,posexp,posind

Arguments

relcw
Relative character width of character string exponents and indices (default=0.7)

relch
Relative character height of character string exponents and indices (default=0.7)

posexp
Relative character height above the baseline at which exponents are drawn (default=0.6)

posind
Relative character height below the baseline at which indices are drawn (default=0.3)

Description

The routine gSetStrExponent() sets the relative size and position of both string exponents and indices. Exponents and indices are drawn by using the *E and *I escape sequences within any of the character string output routines gDisplayStr(), gDisplayStrPolylineBy2D(), gDisplayStrPolylineTo2D() and gFitCharStr().

A zero value for any of the arguments will return its value to default.

A negative argument will cause a warning message and the absolute value will be used.

See Also

gSetStrExponent Usage
gDisplayStr
gDisplayStrPolylineBy2D
gDisplayStrPolylineTo2D
gFitCharStr