cmd-plotting

Generate astronomy colour-magnitude diagrams from photometric catalogs as PNG files.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/arm2arm/AstroAgentAssistant --skill cmd-plotting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cmd-plotting
Source: https://github.com/arm2arm/AstroAgentAssistant/tree/main/python/cmd-plotting
Command: npx skills add https://github.com/arm2arm/AstroAgentAssistant --skill cmd-plotting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate astronomy colour-magnitude diagrams from observational data with reproducible plotting choices.

Core Features & Use Cases

  • Generate CMDs from photometric catalogs
  • Enforce consistent axis labeling and units
  • Save publication-ready outputs

Quick Start

Run the plotting script (templates/plot_cmd.py) on input.parquet to generate cmd.png.

Frequently Asked Questions about cmd-plotting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a colour-magnitude diagram from a photometric catalog in Python?

To generate a colour-magnitude diagram from a photometric catalog, use Python with matplotlib to plot observational data and save the results as a publication-ready PNG file. The Skill processes input data and enforces consistent axis labeling.

Can I use parquet files to create astronomy data visualizations?

Yes, you can use parquet files to create astronomy data visualizations by passing input.parquet directly to the plotting script. The script processes the parquet data to generate colour-magnitude diagrams as output PNG files.

What is the best way to plot large photometric samples in a colour-magnitude diagram?

The best way to plot large photometric samples in a colour-magnitude diagram is using hexbin density representations. This approach visualizes dense observational data effectively and produces publication-ready outputs via matplotlib.

Does matplotlib support reproducible plotting choices for observational astronomy data?

Yes, matplotlib supports reproducible plotting choices for observational astronomy data by enforcing consistent axis labeling and explicit units. This ensures your colour-magnitude diagrams maintain consistent plotting conventions across teaching materials.

Do I need Python to produce publication-ready CMD plots?

Yes, you need Python to produce publication-ready CMD plots because the Skill requires Python and matplotlib to process photometric catalogs. Running the plotting script generates consistent colour-magnitude diagram outputs.