getCoords function

Convert proportions into coordinates of the plot or figure region.