Discussion about aliases for multi-axis log/power projections
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- julia
调研方向
从 GMT.jl 的 basemap 入口点和现有的投影绑定入手,特别检查 figsize 字符串目前如何应用对数缩放。确定 API 应该使用独立的轴投影,还是使用 logxy 风格的别名,然后验证所选设计支持 issue 中展示的多轴对数投影。
由索引模型根据 Issue 内容生成。
描述
When trying to copy the second GMT tutorial into GMT.jl I have encountered a missing symbol (I think). The GMT command I want to reproduce is:
gmt begin GMT_tut_2
gmt basemap -R1/10000/1e20/1e25 -JX9il/6il -Bxa2+l"Wavelength (m)" -Bya1pf3+l"Power (W)" -BWS
gmt end show
Both the x and y axis are in a log scale. At the moment, this can be achieved by specifying the l flag to the figsize strings:
function tutorial2()
basemap(
region = (1, 10000, 1e20, 1e25),
figsize = ("9il", "6il"),
frame = (
axes = (:left_full, :bottom_full),
xlabel = "Wavelength (m)",
ylabel = "Power (W)",
),
xaxis = (annot = 2, ticks = :auto),
yaxis = (annot = "1p", ticks = 3),
show = true,
Vd = 1,
)
end
However, it would be nice to separate projection and size. Maybe there could be distinct or just a xproj and yproj arguments (larger change, would require rework of existing projection bindings):logxy projection. Let me know which one of these you prefer, and I will look into an implementation (unless you already have something planned).
EDIT: To stay consistent with the map projection syntax, maybe it would be better to use something like proj = (name = :log, apply = "xy").
- 主要语言
- Julia
- 星标
- 223
- 派生
- 35
- 平均合并
- 8 小时 1 分钟
- 30 天内合并 PR
- 9
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GenericMappingTools/GMT.jl 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 35/100
GenericMappingTools/GMT.jl#2071 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 5/100
GenericMappingTools/GMT.jl#2066 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 55/100
GenericMappingTools/GMT.jl#2030 · 14 条评论 ·
-
难度 3/5 1-2 天 新手友好度 55/100
GenericMappingTools/GMT.jl#2023 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 48/100
GenericMappingTools/GMT.jl#1893 · 11 条评论 ·
查看 GenericMappingTools/GMT.jl 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
-
Bump ODEInterface_jll to rebuilt 0.0.2+2 (execstack fix) in 8 benchmark folder Manifests可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 64/100
SciML/SciMLBenchmarks.jl#2044 · 2 条评论 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 84/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
oscar-system/Oscar.jl#6572 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
JuliaLang/LinearAlgebra.jl#2002 · 2 条评论 ·
维护者通常 1 天内回复