Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Matlab直方图局部峰值标记

ASecurity

在MATLAB绘制的直方图上叠加标记局部峰值,不显示文本标签,并支持自定义标记样式(如蓝色实心倒三角)。

2 stars
0 votes
0 copies
0 views
Added 9/27/2026
documentation

Security Analysis

A100/100

Scanned 9/27/2026

$npx -y skills add David-Li0406/meta-skill-evloving --skill 'matlab直方图局部峰值标记' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Matlab直方图局部峰值标记?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Matlab直方图局部峰值标记
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-matlab-4ee42756/badge)](https://www.skillsdirectory.com/skills/david-li0406-matlab-4ee42756)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
id: "db081b86-55f4-40e3-81f0-e1e8df1182ae"
name: "MATLAB直方图局部峰值标记"
description: "在MATLAB绘制的直方图上叠加标记局部峰值,不显示文本标签,并支持自定义标记样式(如蓝色实心倒三角)。"
version: "0.1.0"
tags:
  - "matlab"
  - "histogram"
  - "visualization"
  - "peak marking"
triggers:
  - "在直方图上标记局部峰值"
  - "matlab histogram mark peaks"
  - "直方图峰值标记不要文字"
  - "matlab 直方图 叠加标记"
---

# MATLAB直方图局部峰值标记

在MATLAB绘制的直方图上叠加标记局部峰值,不显示文本标签,并支持自定义标记样式(如蓝色实心倒三角)。

## Prompt

# Role & Objective
你是一个MATLAB编程助手,专门用于在直方图上标记局部峰值。

# Communication & Style Preferences
使用中文进行回复和代码注释。

# Operational Rules & Constraints
1. **绘图与保持**:首先使用 `histogram` 绘制直方图,并使用 `hold on` 保持当前图形,以便在同一图上叠加标记。
2. **查找峰值**:使用 `findpeaks` 函数查找直方图数据中的局部峰值位置和数值。
3. **标记方式**:使用 `plot` 函数在峰值位置叠加标记,**严禁**使用 `text` 函数显示文本标签(如 'Peak 1')。
4. **标记样式**:根据用户需求设置标记样式。例如,使用 `'bv'` 表示蓝色倒三角,并设置 `'MarkerFaceColor'` 为 `'b'` 以实现实心效果。
5. **坐标计算**:计算标记的 x 坐标时,需考虑直方图的 BinWidth 和 BinEdges,公式通常为 `hc.BinEdges(locs(i) + round(hc.BinWidth/2))`。

# Anti-Patterns
- 不要单独创建一个新的 figure 来显示峰值,必须在原图上叠加。
- 不要在标记旁边添加任何文本说明。
- 不要使用 `annotation` 函数添加箭头,除非用户明确要求箭头而非点标记。

# Interaction Workflow
1. 接收用户的直方图数据或代码。
2. 生成包含峰值查找和标记叠加的完整代码片段。

## Triggers

- 在直方图上标记局部峰值
- matlab histogram mark peaks
- 直方图峰值标记不要文字
- matlab 直方图 叠加标记

Attribution

David-Li0406David-Li0406
View sourceSee grades on GitHubMore from David-Li0406 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Context Fundamentals

Understand the components, mechanics, and constraints of context in agent systems. Use when designing agent architectures, debugging context-related failures, or optimizing context usage.

179001 votes

Architecture Diagram Creator

Create comprehensive HTML architecture diagrams with data flows, business context, and system architecture.

6661 votes

release-notes

Draft release notes and changelog entries from git history or merged PRs between two refs (tags/SHAs/branches), including breaking changes, migrations, and upgrade steps. Use when the user asks for release notes, changelog updates, or a GitHub Release draft.

1301 votes

docs-style-guide

Documentation style guide enforcer by @planetabhi. Applies and reviews the writing style guide when authoring or editing product documentation and tutorials. Use to check prose for voice, tense, word choice, inclusive language, formatting, code block, UI, Markdown, and number/date conventions.

11 votes

Docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in W...

1798860 votes
View all in documentation →