plot.m

来自「CheckMate is a MATLAB-based tool for mod」· M 代码 · 共 28 行

M
28
字号
function plot(con,color)% Plot a linear constraint object %% Syntax:%   "plot(con)"%%   "plot(con,color)"%% Description:%   "plot(con)" plots the linear constraint object "con" in blue.%   "plot(con,color)" plots "con" in the color specified in the rgb row%   vector "color=[r g b]". %% Note:%   "@linearcon/plot" first converts the linear constraint object to a%   polyhedron object, and then uses "@polyhedron/plot" to create the%   figure.%% See Also:%   linearcon,plotif nargin == 1  color = [0 0 1];endplot(polyhedron(con),color)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?