Name: PGLEN Purpose: find length of a string in a variety of units Category: GRAPHICS File: pgplot.src Author: T.J. Pearson Use: see description below. Description: SUBROUTINE PGLEN (UNITS, STRING, XL, YL) REAL XL, YL INTEGER UNITS CHARACTER*(*) STRING Work out length of a string in x and y directions Input UNITS : 0 => answer in normalized device coordinates 1 => answer in inches 2 => answer in mm 3 => answer in absolute device coordinates (dots) 4 => answer in world coordinates 5 => answer as a fraction of the current viewport size STRING : String of interest Output XL : Length of string in x direction YL : Length of string in y direction Updates: Oct 16, 1998: JPT automatically extracted from source.