plotly.R icon indicating copy to clipboard operation
plotly.R copied to clipboard

Smith Chart with Plotly

Open safoueneKa opened this issue 3 years ago • 0 comments

Hello,

I would like to implement Smith Charts using Plotly. This is the error I get when trying so.

ggplotly(ggplot(dipole,

  •      aes(freq = frequency, 
    
  •          smag = mag,
    
  •          sang = ang * pi / 180,
    
  •          color = frequency)) +
    
  • geom_smith())
    

from rftk example https://rdrr.io/github/aaronmanderson3/rftk/man/geom_smith.html

Error in eval(substitute(expr), data, enclos = parent.frame()) : object 'tickvals' not found In addition: Warning messages: 1: In min(z[["x"]]$dimension %()% z$x.range %||% z$x_range) : no non-missing arguments to min; returning Inf 2: In max(z[["x"]]$dimension %()% z$x.range %||% z$x_range) : no non-missing arguments to max; returning -Inf 3: In min(z[["y"]]$dimension %()% z$y.range %||% z$y_range) : no non-missing arguments to min; returning Inf 4: In max(z[["y"]]$dimension %()% z$y.range %||% z$y_range) : no non-missing arguments to max; returning -Inf 5: In geom2trace.default(dots[[1L]][[1L]], dots[[2L]][[1L]], dots[[3L]][[1L]]) : geom_GeomSmith() has yet to be implemented in plotly. If you'd like to see this geom implemented, Please open an issue with your example code at https://github.com/ropensci/plotly/issues

safoueneKa avatar Apr 28 '22 14:04 safoueneKa