Plot 2D/3D region

The program plots convex linear closed regions in 2D/3D.

You are now following this Submission

Editor's Note: This file was highlighted in the File Exchange Pick of the Week blog.

The program plots convex linear closed regions in 2D/3D. The region is a subset of R2 or R3 such that Ax>=b and lb<=x<=ub. It is also possible to plot points in the same plot.
(See help plotregion and help plotLinearConstraints for more documentation)

Cite As

Per Bergström (2026). Plot 2D/3D region (https://www.mathworks.com/matlabcentral/fileexchange/9261-plot-2d-3d-region), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Computational Geometry in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.1

Added a new plot-function (plotLinearConstraints) for visualizing linear constraints and some additional examples.

1.1.0.0

More examples are added.

1.0.0.0

Have done the documentation more clear.