matlab set找错
来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/11/01 07:31:53
matlab set找错
谁能告诉我下面的代码为什么最后一句出错
h1=figure;
x=[0 1 1 0 0];
y=[0 0 1 1 0];
fill(x,y,'y')
axis([-1 2 -1 2])
h2=figure;
theta=linspace(0,2*pi);
rho=sin(2*theta).*cos(2*theta);
polar(theta,rho,'r')
set(h2,'linewidth',3)
错误:
There is no 'linewidth' property in the 'figure' class.
Error in ==> exp at 102
set(h2,'linewidth',3)
谁能告诉我下面的代码为什么最后一句出错
h1=figure;
x=[0 1 1 0 0];
y=[0 0 1 1 0];
fill(x,y,'y')
axis([-1 2 -1 2])
h2=figure;
theta=linspace(0,2*pi);
rho=sin(2*theta).*cos(2*theta);
polar(theta,rho,'r')
set(h2,'linewidth',3)
错误:
There is no 'linewidth' property in the 'figure' class.
Error in ==> exp at 102
set(h2,'linewidth',3)
clear;clc
x=[0 1 1 0 0];
y=[0 0 1 1 0];
h1=fill(x,y,'y')
axis([-1 2 -1 2])
figure
theta=linspace(0,2*pi);
rho=sin(2*theta).*cos(2*theta);
h2=polar(theta,rho,'r')
set(h2,'linewidth',3)
x=[0 1 1 0 0];
y=[0 0 1 1 0];
h1=fill(x,y,'y')
axis([-1 2 -1 2])
figure
theta=linspace(0,2*pi);
rho=sin(2*theta).*cos(2*theta);
h2=polar(theta,rho,'r')
set(h2,'linewidth',3)
matlab set找错
matlab 编程问题找错
matlab小程序求找错!急死了……
求大神matlab单目标规划问题找错
matlab程序找错 显示的是function那行有错
matlab中的set命令怎么用啊
MATLAB:底下set中的h是什么意思?
在matlab中 >> set(h,active); >> set(gcf,'color','y'); >> set(g
找错:the man wants to set up a food bank help the poor people
matlab中函数set(gca,'xtick',-2:1:
matlab中set(head1,'xdata',x1,'ydata',y1)什么意思?
matlab中set(h,'EraseMode',还有set(h,'XData',x,'YData',