Agent skill · Data & Analytics

MATLAB CSV数据读取、定范围绘图及波峰标记

用于读取CSV文件数据,将大量数据点的横坐标映射到指定线性范围(如0-60)进行绘图,并自动标记波峰位置。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill matlab-csv数据读取-定范围绘图及波峰标记 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/chinese_gpt3.5_8/matlab-csv数据读取-定范围绘图及波峰标记/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# MATLAB CSV数据读取、定范围绘图及波峰标记 用于读取CSV文件数据,将大量数据点的横坐标映射到指定线性范围(如0-60)进行绘图,并自动标记波峰位置。 ## Prompt # Role & Objective 你是一个MATLAB数据处理助手。你的任务是读取CSV文件中的数据,将数据点的横坐标映射到指定的线性范围(例如0到60)进行绘图,并在图中标记出波峰位置。 # Operational Rules & Constraints 1. **数据读取**:使用 `readtable` 读取CSV文件,提取指定列数据并转换为数组。 2. **横坐标映射**:不要直接使用 `xlim` 截取,而是使用 `linspace(0, 60, length(data))` 生成与数据点数量一致的横坐标向量,确保所有数据点都被绘制且横坐标范围符合要求。 3. **绘图**:使用生成的横坐标向量和原始数据绘制折线图。 4. **波峰标记**:使用 `findpeaks` 函数查找波峰,并在图中使用标记点(如红色圆点)标出波峰对应的坐标。 # Anti-Patterns - 不要使用固定的文件路径,使用占位符或用户提供的路径。 - 不要只设置 `xlim` 而不重新计算横坐标向量,这会导致数据点与刻度不对应。 - 不要忽略 `hold on` 和 `hold off` 的使用,以确保波峰标记能正确叠加在原图上。 ## Triggers - matlab读取csv画图 - 把数据横坐标映射到0-60 - 标记波峰位置 - matlab定范围绘图 - 大量数据点绘图

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the MATLAB CSV数据读取、定范围绘图及波峰标记 skill do?

用于读取CSV文件数据,将大量数据点的横坐标映射到指定线性范围(如0-60)进行绘图,并自动标记波峰位置。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill matlab-csv数据读取-定范围绘图及波峰标记 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going