How to center text vertically for WGText ?
1. Before calling WGText use the function WGGetTextSizeNorm to get the text height in relative coordinates. 2. Knowing the plotting area height in relative coordinates (difference between rY2 and rY1 that you used in WGSetPlotArea) and the Y-axis range, recalculate the text height to physical (Y axis) coordinates. 3. Call WGText with rY adjusted by 1/2 of the text height in physical coordinates.