High-resolution plotting
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- rust
- Lĩnh vực
- data-visualization
Hướng nghiên cứu
Issue không nêu tên tệp, kiểm thử hay các điểm vào. Hãy bắt đầu bằng cách xác định các đường dẫn xử lý việc vẽ biểu đồ và gắn nhãn trục, sau đó xác định xem các giá trị thập phân có độ phân giải cao hay cách gắn nhãn thay thế mới là phạm vi phù hợp. Để hoàn thành, cần có một thiết kế đã được thống nhất cho độ chính xác, hành vi thu phóng, hiệu năng và các dấu trên trục.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- Rust
- Star
- 494
- Fork
- 110
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của emilk/egui_plot
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Tất cả issue của emilk/egui_plot
Issue tương tự
-
claim
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Nixitov/Riptide-Native#946 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: ai-assistants documentation help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
BetaBots-LLC/latticegate#17 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 94/100
storytold/craft-libs#5594 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
听歌识曲历史跳转后对应音源界面无法返回Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
LingyunStudio/RustMusic#16 ·