Legend Toggle

Toggle visibility of graphics objects by clicking on legend. Allows for custom callback function.

現在この提出コンテンツをフォロー中です。

This function allows you to toggle the visibility of line/patch/surface objects, by clicking on the corresponding entry in the legend.

Function outputs a logical vector corresponding to the visibility of each handle object.

A custom callback can be specified to run after each object is toggled.

Currently, only supports line, patch, and surface objects. All objects must be parented to same axes.

引用

Matt Kindig (2026). Legend Toggle (https://jp.mathworks.com/matlabcentral/fileexchange/37901-legend-toggle), MATLAB Central File Exchange. に取得済み.

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0