handle for patch object in Matlab 2014b

1 次查看(过去 30 天)
I am using patch object for my Simulation and initially I have written the code in Matlab2013b where a command
h=patch(x,y)
will create a patch object and it's handle is stored in h.
In Matlab2014b when i try the same command instead of saving handle in h it saves following Information.
Patch with properties:
FaceColor: [1 0 0]
FaceAlpha: 1
EdgeColor: [0 0 0]
LineStyle: '-'
Faces: [1 2 3 4 5]
Vertices: [5x2 double]
The architecture of my Simulation is totally depends upon it. Is there any way to store the handle of patch in Matlab2014b?
  1 个评论
Geoff Hayes
Geoff Hayes 2015-1-24
Amit - how are you using the handle h? Perhaps there is an alternative solution.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Polygons 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by