Plot the polyhedron.
h = plot(P, 'Prop1', value1, 'Prop2', value2)
h = plot(P1, 'Prop1', value1, P2, 'Prop2', value2)
h = P.plot('Prop1', value1, 'Prop2', value2)
Polyhedron |
Polyhedron in any object with the dimension less or equal than 3. Class: ConvexSet |
Prop1 |
Specification of figure properties. Class: char Allowed values:
|
value1 | Corresponding value to Prop1. |
h |
Handle related to graphics object. Class: handle |
P(1) = Polyhedron('lb',-1,'ub',1)
Polyhedron in R^1 with representations: H-rep (redundant) : Inequalities 2 | Equalities 0 V-rep : Unknown (call computeVRep() to compute) Functions : noneThe second polyhedron is in H-representation.
P(2) = Polyhedron('A',[0 -1;0.4 4;0.5 -2.1],'b',[1;2;3])
Array of 2 polyhedra.Plot the sets with the dash-dotted line and the size 3.
P.plot('LineStyle','-.','LineWidth',3);
P = ExamplePoly.randHrep('d',3,'ne',1);Plot the polyhedron in 'darkred' color and some alpha transparency
P.plot('Color','darkred','Alpha',0.6);
P1 = ExamplePoly.randVrep;
P2 = rand(2)*P1+rand(2,1);Plot the polyhedron P1 in lightgreen, dashed style and P2 in wired frame and return handles.
h = plot(P1,'color','lightgreen','linestyle','--',P2,'wire',true);
◀ | isinside | mpt | ▶ |
© 2010-2013 Colin Neil Jones: EPF Lausanne, colin.jones@epfl.ch
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch
© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk