High-resolution plotting
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
このissueでは、ファイル、テスト、エントリポイントが指定されていません。まずプロットおよび軸ラベル付けの経路を特定し、そのうえで高解像度の小数値と別のラベル付けのどちらが適切なスコープかを判断してください。完了には、精度、ズーム時の動作、パフォーマンス、軸の目盛りについて合意された設計が必要です。
索引モデルが issue の本文から書いたものです。
説明
I need to plot some data with a very high-resolution time axis. Think, unix timestamps, but with sub-picosecond resolution. 64-bit floating point does not have sufficient resolution to represent this, as I need more than 72 bits of resolution to get both at least 32 bits for seconds and at least 40 bits for fractional seconds to get down to picoseconds. Currently I am using D128 from fastnum to store the data. It's one thing to plot an overall view of the trace where truncation doesn't really matter, but the problem is what happens when you zoom in to look at a handful of points and they don't get plotted in the right spots due to truncation.
I'm not sure what the "right" way to solve this would be. One option is to support plotting via a high-resolution decimal type (fastnum, rust_decimal, etc.) directly and avoid converting to floating point. This is probably the best option, but I'm not sure about performance and such. Another potential option is to support offsetting the X and/or Y axes, possibly on a per-trace basis, to remove most of the time portion to reclaim some resolution for the fractional part. But this doesn't really solve the problem completely as there would only be ~12 bits of the f64 mantissa left for the time portion. Maybe dynamically changing the offset based on the current zoom level and plot extents would work? Still possibly not a very clean solution.
I'm also not sure the best way to handle the axis markings, seems like what's really needed is some kind of relative labeling where some reference is marked with the full resolution and then the other divisions are marked relative to the reference. Maybe even something more like an oscilloscope display makes sense, where the individual grid lines are not marked at all, but instead you have "reference" and "per division" values displayed somewhere, and the reference lines explicitly marked in a distinctive way.
Does anyone have any thoughts on this? Does it make sense to try to support plotting high-resolution decimal values directly? Does it make sense to have some alternate axis labeling modes that might be better suited for this kind of data? Or is this too specialized?
- 主要言語
- Rust
- スター
- 494
- フォーク
- 110
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
emilk/egui_plot のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
emilk/egui_plot の issue をすべて見る
似ている issue
-
claim
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Nixitov/Riptide-Native#946 ·
メンテナーはふだん 1 日以内に返信
-
area: ai-assistants documentation help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BetaBots-LLC/latticegate#17 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
storytold/craft-libs#5594 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
听歌识曲历史跳转后对应音源界面无法返回オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
LingyunStudio/RustMusic#16 ·