Nicebox

Like BOX, but only draws edges behind the plot.
479 Downloads
Aktualisiert 9. Jun 2010

Lizenz anzeigen

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).

Zitieren als

Ross Hatton (2024). Nicebox (https://www.mathworks.com/matlabcentral/fileexchange/25839-nicebox), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2007a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
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