Smith Chart with Plotly
还没有人认领这个 Issue。
- 主要语言
- R
- 星标
- 2.7k
- 派生
- 641
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 issue 中的 rftk geom_smith 示例和 ggplotly 调用开始,然后检查报告 geom_GeomSmith() 尚未实现的 geom2trace.default 路径。确定 Smith Chart 所需的 Plotly 表示形式,并验证该示例可以在没有所报告的错误和警告的情况下完成转换。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- r
- 领域
- data-visualization
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100