mathematica中如何填充成实心图 如画一个心形线 r=a(1-sinθ)如何填充 要用什么函数

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/29 04:00:12
mathematica中如何填充成实心图 如画一个心形线 r=a(1-sinθ)如何填充 要用什么函数
xTMO0+SQJ|5-8q[gۄp4iӄMv@?دH~\jJ\}~7gG?7L{mum}}>DZ>o/h'aaP% JeY[Q`BjM P-$960΋6gk٦2*0#g\"Z$\6C<6naB)9I@  XN굼*J|X-8М(JE,VƽB Nf2&Fw'[1ha- m4vj5/xSߨTrY5ӆan8ZClAl3G=\IpԙLLgD4d _݈QYPNkoвB{uBN}Y($D_(p]׆> c

mathematica中如何填充成实心图 如画一个心形线 r=a(1-sinθ)如何填充 要用什么函数
mathematica中如何填充成实心图 如画一个心形线 r=a(1-sinθ)如何填充 要用什么函数

mathematica中如何填充成实心图 如画一个心形线 r=a(1-sinθ)如何填充 要用什么函数
FILL Filled 2-D polygons.
    FILL(X,Y,C) fills the 2-D polygon defined by vectors X and Y
    with the color specified by C.  The vertices of the polygon
    are specified by pairs of components of X and Y.  If necessary,
    the polygon is closed by connecting the last vertex to the first.%% 示例
t = 0:0.1:2*pi;
r = 4*(1-sin(t));
[x y] = pol2cart(t, r);
fill(x, y, 'r')