I want to use ezpolar with line colour, style, width control. Is this possible?
조회 수: 3 (최근 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!