I want to use ezpolar with line colour, style, width control. Is this possible?
1 次查看(过去 30 天)
显示 更早的评论
I want to use ezpolar with line colour, style, width control. Is this possible?
0 个评论
采纳的回答
Mike Garrity
2015-5-12
编辑:Mike Garrity
2015-5-12
The ezpolar command has a return argument. This is a handle to the graphics object it creates. You can set properties on that:
h = ezpolar('sin(2*t).*cos(3*t)',[0 pi])
h.LineStyle = ':'
h.Color = 'green'
h.LineWidth = 8
Note that the "dot notation" syntax was introduced in 2014b. The following version would work in earlier releases too.
h = ezpolar('sin(2*t).*cos(3*t)',[0 pi])
set(h,'LineStyle', ':', 'Color', 'green', 'LineWidth', 8)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Identification 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!