gclabel

Guided contour labels

您现在正在关注此提交

GCLABEL allows the automatic placement of contour labels in the intersection points between a guide and the contour lines.

The guide is created by the user and can be a curve (spline) or a broken line. Any number of guides can be added and they also can be saved (as a text file) for future use in other figures

Usage:
[C,H] = CONTOUR(...)
GCLABEL(H)

1- Click with the left mouse buttom at least twice on the axes to create the guide and auxiliary points (aux). To stop click with other buttom.

2- Use the left mouse buttom to drag guide or aux as desired

3- Click on the guide with right buttom and select <done> on the uicontextmenu. This will delete the guide and aux

Many options are available, see the help of the file and see the screenshots for some features

It works in Matlab releases from 5.3 (at least) to the current one (R14)

引用格式

M MA (2026). gclabel (https://ww2.mathworks.cn/matlabcentral/fileexchange/9028-gclabel), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: scattertext, clabel_along

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0