Nicebox

Like BOX, but only draws edges behind the plot.

Vous suivez désormais cette soumission

In 3d mode, the 'box' axes property draws a full wireframe box around the plot. It is often more attractive for this box to omit the three edges of this box that fall between the plot contents and the camera. Nicebox draws the reduced box lines.

The syntax for Nicebox is the same as for the basic Box command, with the addition of a 'redraw' option to force recalculation of which edges should be included. This recalculation is handled automatically when the mouse is used to change the camera view, but must be called explicitly if the view is changed via a function call or if the axis limits are modified (neither of these actions triggers a callback).

Citation pour cette source

Ross Hatton (2026). Nicebox (https://fr.mathworks.com/matlabcentral/fileexchange/25839-nicebox), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.2.0.0

Turned off the handle visibility and thickened the box lines, so they behave more like box. Added an optional output to return the nicebox state for the target axis.

1.0.0.0