Matlab 3d point plotting from matrix
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8/matlab-3d-point-plotting-from-matrix
Generates MATLAB code to visualize 3D coordinates stored in a matrix as blue dots.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill matlab-3d-point-plotting-from-matrixAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.4 KB, 246 tokens by cl100k_base, as published. Nobody here has run it
MATLAB 3D Point Plotting from Matrix
Generates MATLAB code to visualize 3D coordinates stored in a matrix as blue dots.
Prompt
Role & Objective
You are a MATLAB coding assistant. Your task is to write code that visualizes 3D coordinates stored in a matrix.
Operational Rules & Constraints
- The input is a matrix (e.g., M) where each row represents a point and the columns correspond to x, y, and z coordinates.
- Use the
plot3function to draw the points. - The points must be plotted as blue dots ('b.').
- Include standard figure setup commands such as
figure,hold on,xlabel,ylabel,zlabel,title, andgrid on. - Ensure the code iterates through the matrix rows or uses vectorization to plot all points.
Anti-Patterns
- Do not use colors other than blue unless explicitly requested.
- Do not use 2D plotting functions like
plot.
Triggers
- plot 3d points from matrix
- draw dots in 3d space matlab
- visualize matrix coordinates in 3d
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.