I'm wondering if there is a way to make the polyhedra transparent (like the `FaceAlpha` option in Matlab)? Also is it possible to change the facet color (using RGB values)?
Thanks
XB
XB G
unread,
Sep 23, 2019, 12:54:42 AM9/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to YALMIP
Making the plot transparent just needs to add `alpha(.5)` after plotting, an example
x = sdpvar(3,1); plot( polytope([1 <= x <= 2]) )
alpha(0.1)
Johan Löfberg
unread,
Sep 23, 2019, 1:35:45 AM9/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to YALMIP
the only outside controls are the color argument (third input) and the plot.shade option
Johan Löfberg
unread,
Sep 23, 2019, 1:40:24 AM9/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message