Chuyển đến nội dung
Skillpedia
Hình ảnh và biểu tượng51k · #3565

scientific-visualization

Skill này làm gì

Công cụ này giúp tạo hình khoa học rõ ràng và chính xác cho các công bố. Nó đảm bảo dữ liệu không bị thay đổi hay méo mó, tập trung vào sự rõ ràng và khả năng tiếp cận, và hỗ trợ chuẩn bị hình cho tạp chí khoa học.

Khi nào nên dùng

  • ✓Khi tạo hình cho một tạp chí khoa học.
  • ✓Khi bạn cần đảm bảo hình thể hiện dữ liệu một cách trung thực.
  • ✓Khi muốn kiểm tra hình có dễ tiếp cận với người mù màu hoặc khiếm thị không.

Liên kết skill

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/scientific-visualization/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/scientific-visualization/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo biểu đồ cột thể hiện doanh số hàng tháng, đảm bảo trục Y bắt đầu từ số không và dữ liệu thiếu được ghi chú rõ ràng.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ làm việc bằng cách xác định rõ hình cần thể hiện, chọn cách biểu diễn dữ liệu trung thực (màu sắc, thang đo, v.v.) và đảm bảo hình dễ tiếp cận với mọi người, trước khi thực hiện bằng code.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Scientific Visualization

Build figures that preserve scientific meaning before optimizing appearance. Separate universal principles from dated publisher rules, preserve raw data and transformations, use color redundantly, and inspect delivered files rather than trusting plotting defaults.

Non-negotiable guardrails

  • Never alter, hide, invent, or selectively enhance data to improve a figure.
  • Preserve raw tables/images, exclusions, missing-value codes, analysis code, normalization, binning, image adjustments, and random seeds.
  • Do not infer journal requirements. Identify the exact journal, article type, figure type, and submission phase; verify its live official guidance.
  • Do not claim that a palette, DPI value, format, or automated report makes a figure accessible or journal-compliant.
  • Do not silently connect missing observations, suppress inconvenient points, upsample images as if detail increased, or tune axes/dual axes to exaggerate a conclusion.
  • Keep interactive and static outputs as distinct deliverables. Interactive hover is not a substitute for labels, alt text, keyboard access, an accessible data table, or a static fallback.

Read references/publication_guidelines.md for deceptive-encoding and integrity checks. Read references/journal_requirements.md only after the target and phase are known.

Workflow

1. Define the evidence and destination

Record:

  • audience and medium: manuscript, web, slide, poster, supplement;
  • exact publisher/journal, article type, submission phase, and intended final width;
  • variable semantics, units, sample/replicate structure, missing/censored values;
  • estimator and uncertainty definition;
  • transformations: filtering, aggregation, normalization, smoothing, bins, image processing;
  • source-data paths/identifiers and output provenance.

If requirements are not known, create a provisional general figure and label all publisher choices as pending verification.

2. Choose an honest encoding

Prefer position on a common scale. Before coding, check:

  • Bars/areas: normally include zero because length/area is measured from a baseline.
  • Points/lines: nonzero limits can be valid; show context and disclose breaks.
  • Uncertainty: name SD, SE, CI, percentile, posterior, or another interval; state n and the unit of replication.
  • Raw observations: show them when feasible; do not let jitter obscure categories/values.
  • Missing data: distinguish missing, zero, censored, and excluded; use gaps or explicit model/interpolation styling.
  • Area/volume: scale area/volume, not radius/diameter; avoid decorative 3D.
  • Log axes: label the base/transform and declare how zero/negative values are handled.
  • Binning/smoothing: record edges, bandwidth/window, method, and sensitivity.
  • Normalization: state formula/reference and keep limits consistent across compared panels.
  • Dual axes: prefer aligned panels; if unavoidable, justify units and do not engineer apparent correlation.
  • Images: preserve originals, disclose whole-image adjustments, show scale bars, and avoid clipped/erased background.

3. Design accessibility in, not after

  • Use color plus marker, line style, hatching, direct label, or panel separation.
  • Choose qualitative, sequential, diverging, or cyclic color according to data semantics.
  • Audit foreground/background contrast at the rendered size.
  • Make missing and out-of-range values explicit.
  • Provide alt text, a longer description for complex figures, and underlying data for web delivery.
  • Treat WCAG 2.2 as web guidance: 4.5:1 normal text, 3:1 large text, and 3:1 for graphical objects required for understanding; color cannot be the only cue. Applicability and exceptions matter.

See references/color_palettes.md. A grayscale screen is useful but is not a complete color-vision or accessibility test.

4. Implement with scoped styles

Run shell examples from this skill directory. For your own figure script, add scripts/ and assets/ to the import path (see the bootstrap in references/matplotlib_examples.md) and create the output directory. Use Matplotlib's object-oriented API and temporary style contexts:

import matplotlib.pyplot as plt

from style_presets import style_context

with style_context("default", palette_name="okabe_ito_on_white"):
    fig, ax = plt.subplots(
        figsize=(89 / 25.4, 60 / 25.4),
        layout="constrained",
    )

…
Câu hỏi thường gặp

“Dữ liệu trung thực” nghĩa là gì?

Nghĩa là hình không được thay đổi, che giấu hay phóng đại dữ liệu. Hình phải thể hiện trung thành thông tin khoa học.

Công cụ đảm bảo khả năng tiếp cận như thế nào?

Nó gợi ý kết hợp màu sắc với các yếu tố thị giác khác (như hình dạng hoặc đường kẻ), kiểm tra độ tương phản, và cung cấp mô tả thay thế cho người khiếm thị.

Tôi có thể dùng mọi loại biểu đồ không?

Công cụ tập trung vào hình cho công bố khoa học và hướng dẫn các thực hành tốt cho từng kiểu biểu diễn dữ liệu, như cột, đường và hình ảnh.

Chi tiết

Mô tả gốc của tác giả

Creates and audits truthful, accessible, publication-ready scientific figures with Matplotlib, Seaborn, or Plotly. Use it for figure design, multi-panel layouts, uncertainty and missing-data displays, color/contrast review, image metadata validation, and journal export planning.

repo: K-Dense-AI/scientific-agent-skills

Độ phổ biến

Sao GitHub
51k
Vị trí xếp hạng
#3565
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự