%例36-5 离散数据点直接绘图 x=sort(rand(1,10)); y=sort(rand(1,10)); plot(x,y)
函数绘图 源代码
汇集 函数绘图 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
%例36-9 半对数坐标轴绘图 x=-1:0.1:1; y=exp(x).*cos(x); subplot(2,1,1) semilogy(x,y,'b-.') subplot(2,1,2) plot(x,y,'r-.')
% example_isosurface.m % 绘制等值面示例 % 生成绘制图形数据 [x,y,z,v]=flow(13); % 通过 fv=isosurface(x,y,z,v,3);
% example_isosurface.m % 绘制等值面示例 % 生成绘制图形数据 [x,y,z,v]=flow(13); % 通过 fv=isosurface(x,y,z,v,3);
plot函数绘制结果 t = 0:pi/100:2*pi; y = sin(t); plot(t,y) grid on
%例8-4 使用subplot函数进行多图的绘制。 >> x = 0:.1:20; >> subplot(2,2,1) >> plot(x,sin(x)); >> >> x = 0:.1:20; >> subplot(2,2,2)…
plot函数绘制结果 t = 0:pi/100:2*pi; y = sin(t); plot(t,y) grid on
%例8-4 使用subplot函数进行多图的绘制。 >> x = 0:.1:20; >> subplot(2,2,1) >> plot(x,sin(x)); >> >> x = 0:.1:20; >> subplot(2,2,2)…
%例8-4 使用subplot函数进行多图的绘制。 >> x = 0:.1:20; >> subplot(2,2,1) >> plot(x,sin(x)); >> >> x = 0:.1:20; >> subplot(2,2,2)…
%例8-4 使用subplot函数进行多图的绘制。 >> x = 0:.1:20; >> subplot(2,2,1) >> plot(x,sin(x)); >> >> x = 0:.1:20; >> subplot(2,2,2)…