scientific-visualization
यह क्या करती है
यह स्किल एजेंट को ऐसे चित्र बनाना सिखाती है जो वैज्ञानिक जर्नलों के मानकों पर खरे उतरें। इसमें लेआउट, लेबलिंग, रंग-अंधता के अनुकूल पैलेट और निर्यात फ़ॉर्मैट शामिल हैं।
कब इस्तेमाल करें
- ✓जब शोधकर्ता को जर्नल सबमिशन के लिए चित्र चाहिए, जैसे Nature, Science या Cell शैली में।
- ✓जब उपयोगकर्ता को त्रुटि बार और सार्थकता चिह्नों वाला बहु-पैनल चित्र चाहिए।
- ✓जब उपयोगकर्ता मौजूदा चित्र को प्रकाशन मानकों तक सुधारवाना चाहता है।
Skill का लिंक
https://github.com/zLanqing/codex-claude-academic-skills/blob/main/scientific-toolkit-skill/references/scientific-skills/scientific-visualization/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे जर्नल सबमिशन के लिए मेरे नतीजों को त्रुटि बार और रंग-अंधता सुरक्षित रंगों वाले तीन-पैनल चित्र में बदलिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट प्रकाशन शैली तय करता है, चित्र को जर्नल कॉलम की चौड़ाई में फ़िट करता है, और डेटा को लेबल व इकाइयों के साथ प्लॉट करता है। फिर वह चित्र सही रिज़ॉल्यूशन और फ़ॉर्मैट में निर्यात करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Scientific Visualization
Overview
Scientific visualization transforms data into clear, accurate figures for publication. Create journal-ready plots with multi-panel layouts, error bars, significance markers, and colorblind-safe palettes. Export as PDF/EPS/TIFF using matplotlib, seaborn, and plotly for manuscripts.
When to Use This Skill
This skill should be used when:
- Creating plots or visualizations for scientific manuscripts
- Preparing figures for journal submission (Nature, Science, Cell, PLOS, etc.)
- Ensuring figures are colorblind-friendly and accessible
- Making multi-panel figures with consistent styling
- Exporting figures at correct resolution and format
- Following specific publication guidelines
- Improving existing figures to meet publication standards
- Creating figures that need to work in both color and grayscale
Quick Start Guide
Basic Publication-Quality Figure
import matplotlib.pyplot as plt
import numpy as np
# Apply publication style (from scripts/style_presets.py)
from style_presets import apply_publication_style
apply_publication_style('default')
# Create figure with appropriate size (single column = 3.5 inches)
fig, ax = plt.subplots(figsize=(3.5, 2.5))
# Plot data
x = np.linspace(0, 10, 100)
ax.plot(x, np.sin(x), label='sin(x)')
ax.plot(x, np.cos(x), label='cos(x)')
# Proper labeling with units
ax.set_xlabel('Time (seconds)')
ax.set_ylabel('Amplitude (mV)')
ax.legend(frameon=False)
# Remove unnecessary spines
ax.spines['top'].set_visible(False)
ax.spines['right'].set_visible(False)
# Save in publication formats (from scripts/figure_export.py)
from figure_export import save_publication_figure
save_publication_figure(fig, 'figure1', formats=['pdf', 'png'], dpi=300)
Using Pre-configured Styles
Apply journal-specific styles using the matplotlib style files in assets/:
import matplotlib.pyplot as plt
# Option 1: Use style file directly
plt.style.use('assets/nature.mplstyle')
# Option 2: Use style_presets.py helper
from style_presets import configure_for_journal
configure_for_journal('nature', figure_width='single')
# Now create figures - they'll automatically match Nature specifications
fig, ax = plt.subplots()
# ... your plotting code ...
Quick Start with Seaborn
For statistical plots, use seaborn with publication styling:
import seaborn as sns
import matplotlib.pyplot as plt
from style_presets import apply_publication_style
# Apply publication style
apply_publication_style('default')
sns.set_theme(style='ticks', context='paper', font_scale=1.1)
sns.set_palette('colorblind')
# Create statistical comparison figure
fig, ax = plt.subplots(figsize=(3.5, 3))
sns.boxplot(data=df, x='treatment', y='response',
order=['Control', 'Low', 'High'], palette='Set2', ax=ax)
sns.stripplot(data=df, x='treatment', y='response',
order=['Control', 'Low', 'High'],
color='black', alpha=0.3, size=3, ax=ax)
ax.set_ylabel('Response (μM)')
sns.despine()
# Save figure
from figure_export import save_publication_figure
save_publication_figure(fig, 'treatment_comparison', formats=['pdf', 'png'], dpi=300)
Core Principles and Best Practices
1. Resolution and File Format
Critical requirements (detailed in references/publication_guidelines.md):
- Raster images (photos, microscopy): 300-600 DPI
- Line art (graphs, plots): 600-1200 DPI or vector format
- Vector formats (preferred): PDF, EPS, SVG
- Raster formats: TIFF, PNG (never JPEG for scientific data)
Implementation:
# Use the figure_export.py script for correct settings
from figure_export import save_publication_figure
# Saves in multiple formats with proper DPI
save_publication_figure(fig, 'myfigure', formats=['pdf', 'png'], dpi=300)
# Or save for specific journal requirements
from figure_export import save_for_journal
save_for_journal(fig, 'figure1', journal='nature', figure_type='combination')
2. Color Selection - Colorblind Accessibility
Always use colorblind-friendly palettes (detailed in references/color_palettes.md):
Recommended: Okabe-Ito palette (distinguishable by all types of color blindness):
# Option 1: Use assets/color_palettes.py
from color_palettes import OKABE_ITO_LIST, apply_palette
apply_palette('okabe_ito')
# Option 2: Manual specification
okabe_ito = ['#E69F00', '#56B4E9', '#009E73', '#F0E442',
'#0072B2', '#D55E00', '#CC79A7', '#0
अक्सर पूछे जाने वाले सवाल
स्किल कौन-से जर्नल का ज़िक्र करती है?
स्किल Nature, Science, Cell और PLOS को जर्नल दिशानिर्देशों के उदाहरण के रूप में बताती है।
क्या यह त्वरित विश्लेषण के लिए सही टूल है?
नहीं। स्किल त्वरित विश्लेषण के लिए seaborn या plotly सीधे इस्तेमाल करने को कहती है।
कौन-से फ़ाइल फ़ॉर्मैट निर्यात हो सकते हैं?
स्किल कहती है कि चित्र PDF, EPS या TIFF में निर्यात किए जा सकते हैं।
जानकारी
लेखक का मूल विवरण
Meta-skill for publication-ready figures. Use when creating journal submission figures requiring multi-panel layouts, significance annotations, error bars, colorblind-safe palettes, and specific journal formatting (Nature, Science, Cell). Orchestrates matplotlib/seaborn/plotly with publication styles. For quick exploration use seaborn or plotly directly.
लोकप्रियता
- GitHub स्टार
- 5.6k
- रैंकिंग में स्थान
- #14771
- लाइसेंस
- MIT
- अपडेट की गई
- 14/5/2026
कमेंट
- …
इस repository की और skills
office-academic-skill
5.6kआपके एजेंट को रिसर्च पेपर को Word रिपोर्ट में बदलने और संपादन योग्य चीनी-प्रधान शैक्षिक PowerPoint स्लाइड बनाने देती है, स्पीकर नोट्स और लेआउट जाँच के साथ।
research-writing-skill
5.6kआपके एजेंट को रिसर्च पेपर के भाग, सार और रिव्यूअर के जवाब लिखने, संशोधित करने और निखारने देती है, सूत्र, शीर्षक और उद्धरण जैसे दिए गए हैं वैसे ही रखते हुए।
scientific-toolkit-skill
5.6kआपके एजेंट को सिग्नल और इमेज प्रोसेसिंग, सांख्यिकी, सिमुलेशन और प्रकाशन-योग्य चित्रों के लिए MATLAB या Python वैज्ञानिक कोड लिखने और डीबग करने देती है।
matlab
5.6kआपके एजेंट को मैट्रिक्स गणित, सिग्नल और इमेज प्रोसेसिंग, अवकल समीकरण, ऑप्टिमाइज़ेशन और प्लॉट के लिए MATLAB और GNU Octave स्क्रिप्ट लिखने और डीबग करने देती है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।