matlab 绘制的心形图 如何填充红色syms x y>> h=ezplot((x^2+y^2-1)^3-x^2*y^3,[-1.5,1.5])set(h,'Color','red')

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/07 14:14:15

matlab 绘制的心形图 如何填充红色syms x y>> h=ezplot((x^2+y^2-1)^3-x^2*y^3,[-1.5,1.5])set(h,'Color','red')
matlab 绘制的心形图 如何填充红色
syms x y
>> h=ezplot((x^2+y^2-1)^3-x^2*y^3,[-1.5,1.5])
set(h,'Color','red')

matlab 绘制的心形图 如何填充红色syms x y>> h=ezplot((x^2+y^2-1)^3-x^2*y^3,[-1.5,1.5])set(h,'Color','red')
>> syms x y;
>> h = ezplot((x^2+y^2-1)^3-x^2*y^3);
>> x=get(h,'Xdata');y=get(h,'Ydata');
>> fill(x,y,'r')