Plotting multiple patch objects in App Designer
5 次查看(过去 30 天)
显示 更早的评论
I am having issues with plotting multiple patch objects on a plot in App Designer. I know there is a 'NextPlot' property for UIAxes, but it doesn't work when plotting patch. Is there a way to plot multiple patches in App Designer?
6 个评论
Adam
2017-6-1
Looking at the help patch is not supported at all in App Designer at the moment so how are you even getting a single patch?
采纳的回答
Chris Portal
2017-6-2
Krithi, there are a few things going on here...
- NextPlot is not contributing to the problem here. What you're running into is UIAxes cannot be GCA, which is why you aren't getting the results you expect.
- The other issue is the File Exchange chart you're using doesn’t support an axes parent handle. Instead it has a ‘lineprops’ input, so if you pass in a ‘parent’ option there, it will only affect the lines, not the axes.
- If the FX chart did support an axes parent option, in R2017a, the PATCH command would issue an error because it isn't supported by UIAxes (at the moment).
PATCH support in UIAxes is right around the corner, but even with that support in place, you'll still run into an issue unless a parent input is also supported in the shadedErrorBar chart.
Hope this helps!
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!