DOC: Two improvements to the documentation of CPT

未關閉
#9,331 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
45/100
Issue 類型
文件
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
html, javascript
領域
documentation

研究方向

Start with the CPT documentation page at docs.generic-mapping-tools.org/dev/reference/cpts.html and review how its current static figures are generated and organized. The issue proposes further reading, interactive CPT browsing, and new categories, but leaves the approach open; discuss and agree on scope before implementation. Done means the documentation reflects the agreed changes and presents CPTs in the agreed categories.

由索引模型根據 Issue 內容生成。

描述

Here is the link to the current documentation for CPT (https://docs.generic-mapping-tools.org/dev/reference/cpts.html). I'd like to propose the following changes.

  1. Recommend that users read the following paper (or maybe there are some other better papers/materials for further reading):

Crameri, F., G.E. Shephard, and P.J. Heron (2020), The misuse of colour in science communication, Nature Communications, 11, 5444, https://doi.org/10.1038/s41467-020-19160-7

  1. Currently, the CPTs are displayed as static images. Maybe we could implement a page like cpt-city (https://phillips.shef.ac.uk/pub/cpt-city/arendal) using JS or pure HTML (I just recalled that I made a try a few years ago using JS, which works fine, but I didn't finish it and can't find it now).

  2. Currently, the CPTs are grouped in 4 separate figures by sections (e.g., gmt, cmocean), but as a user, I usually don't care about the section name. If we follow the Crameri's paper, maybe we should show the CPTs into categories like "Diverging", "Sequencial", "Multi-Sequencial" (mostly for Earth relief, maybe just call them "Earth relief specific"), and "Cyclic".

Above are just my random thoughts, so discussions and comments are welcome.

主要語言
C
星號
997
分支
420
平均合併
13 小時 27 分鐘
30 天內合併 PR
47

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

GenericMappingTools/gmt 的其他 Issue

查看 GenericMappingTools/gmt 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。