getProps function

Transform coordinates into proportions of the figure or plot region.