polarPlot()
should return some information regarding it's y axis scale (esp. for negatives)
#376
Labels
enhancement
Ideas for new features for openair
Feature request
Hi @davidcarslaw - this is a bit of a "programming with openair"-type feature request, after conversations with @mooibroekd.
At the min,
polarPlot()
returns cartesian coordinates which can, if the user wishes, be converted into polar coordinates to plot on a true radial axis - e.g., in the in-development ggopenair:https://github.com/jack-davison/ggopenair/blob/47bf958a6149bdb6ed3a198da6c9b1e82fea723c/R/polar_plot.R#L638-L647
This is fine if the y-axis starts at 0 - as it does for wind speed - but for more esoteric
x
values that can go into the negatives, a simple cartesian transformation won't do:Created on 2024-01-29 with reprex v2.0.2
What would the best way be to extract the y-scale from the
polarPlot()
function? Could we return it as an attribute or part of the{openair}
object?The text was updated successfully, but these errors were encountered: