y=sinx 在EXCEL中列出算式与曲线,然后导入到CAD中。谢了
追答你HI我,我给你传文件吧,自变量是按0.05π变化的,如果要精确绘制的话可以继续小一点。
在EXCEL中就是A列中输入自变量,序列为一个周期,B中输入公式=SIN(A1)
把下面的内容粘贴在TXT中,然后将TXT的后缀改成SCR,
打开cad,将用滚轮放大到最大,执行下列命令
工具-脚本文件-找到那个SCR文件
就可以了
pline
0,0
0.157079633,0.156434465
0.314159265,0.309016994
0.471238898,0.4539905
0.628318531,0.587785252
0.785398163,0.707106781
0.942477796,0.809016994
1.099557429,0.891006524
1.256637061,0.951056516
1.413716694,0.987688341
1.570796327,1
1.727875959,0.987688341
1.884955592,0.951056516
2.042035225,0.891006524
2.199114858,0.809016994
2.35619449,0.707106781
2.513274123,0.587785252
2.670353756,0.4539905
2.827433388,0.309016994
2.984513021,0.156434465
3.141592654,1.22515E-16
3.298672286,-0.156434465
3.455751919,-0.309016994
3.612831552,-0.4539905
3.769911184,-0.587785252
3.926990817,-0.707106781
4.08407045,-0.809016994
4.241150082,-0.891006524
4.398229715,-0.951056516
4.555309348,-0.987688341
4.71238898,-1
4.869468613,-0.987688341
5.026548246,-0.951056516
5.183627878,-0.891006524
5.340707511,-0.809016994
5.497787144,-0.707106781
5.654866776,-0.587785252
5.811946409,-0.4539905
5.969026042,-0.309016994
6.126105675,-0.156434465
6.283185307,0
参考资料:转过去