box

Turn on/off the border of a 2D plot.

Syntax

box

box on

box off

Inputs

on/off
on - turn on the 2D plot border.
off - turn off the 2D plot border.
Toggle the state if no argument is used.

Example

Simple box example:

clf
axes
box('off')
Figure 1. Simple box example