Board logo

标题: [其他] 三维函数绘图工具 [打印本页]

作者: slimay    时间: 2021-4-29 16:25     标题: 三维函数绘图工具

本帖最后由 slimay 于 2021-4-30 15:59 编辑
三维函数绘图工具fp3.exe
fp3 sin(x)*cos(y-t)   5 3

用法:  fp3.exe [函数] [取值半径] [观察距离]


存a.txt,第三方工具解码 bse -d92 a.txt a.7z
  1. 5P@ke?Sx!+K/RIU},4!!!!!!%%!!!!!!!!)sG*:i#Hc(lztW/UlifQ&5NV&${1](V&/@(xe{I/(F>N()|jLlB*Rbu8g]-I_j%@@)_MKe8r74alT+hCsb.SU%CdPF^ijuJ*OI!YY;hXRh!PsZ/f-cJ9i5+cLMMZ@e*opjxS7>&k7];:_Dp9#2y*D)\}Iyq*m!9<N)-{v|$@RFT<n=Uq)Id;YAY%JYmM/K5O\WhMn69I&U59fQh4:C(g@d!0Zo|:\JWg&B!@C#pG%H\h)'2pd#)-@(k@{{r>^L\mA476,pB3c#nXO?ozvBXYe?G{/3/ci1sCGifhcgATZ\S]0m5CqWXZO\LV.@\M-kLYRWD*,{d2&V$VPNR&]{6sOS#_QL7U8,FUi'cY]02X+9!SkS9e;u4dw*C{/E*#C;Z3\G2.9mt.3Z/=B-Kbe(u'6!R|O!eCEc-DeiAcceL9)Z/K5UdZ8b7fo@:X!c2NpIc8G|j7_6Y'F$&)Vo]o48U8ayBG;[%%+'h30dxEFT$N;;mMOMJ>s@_|_g?orUY:UkM5r%A1q3v1AsF!od@l$qU79l35]UzT<ED@/rmoGQ29%JpOAD-@h%r:xeS^X&9grmtx<CdSM#eIpfK)'Fzhuc69N+|x%M,LN#+=WE)%+,yODFDDJzspJYB>f?[vD]sqaUyQG,)Ww&)dhZ3JnU3QOW7QWZNX9v@6GlM)A]2'|g{qCE$A+lN@r(=,;@EjM'D4i(k>q+{QEr5h,RN|14/nDHnp(v*=XL3?kNn(6NFVJO;gi;S.b{M^E5);L4b/&n1hB}$>M'O:6Tv*me|V1Ys^/+Z}M?Y[x3IZMNx0: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:GR=R^ogOq4h4(g#}n{RvNW'B)5Ptd*UfYgN&uok\#sPSOg2NW!(df]SA'c6cU[<9'21)#E?QV}iO%_JUVb#lJ<j[!2#1wPs}[>UJyCx2V_m3GOH!vm(;L.p$NB]8HN,H)-.qI:[jjWJZfQd=>:cc3FB<VHDU>;Gb'g\U3K%D2TkJ=|{uuI^(PTqmT3%mXb,]o5?FOMF<ty\KBdu\FzTh?>)y+wSnsqiT+TuM1:o0>L[;b%XO2DTtb@:Q8dm{oe0+20kT<lO}_67DO,cc!BO;!$#ab_;_:.$a!!r9#G!e2y!c8|ChCh!!S8O3'fnz*J!!-]-=)/!R2u5!!*0(#G-E$n#''[*kR6*JfmQq!!.>!2)%EF%dN^!!)%SGO#!!!!!!!!!g9v3x$L!.fRIEEQ';!TO#!!3WO#!6%Q-<_3e{7CLjfY]/!B#G!!!!!!
复制代码

作者: slimay    时间: 2021-4-29 16:32

本帖最后由 slimay 于 2021-4-29 21:11 编辑

说明书
摘要:三维、四维 曲面绘图工具。
版本:1.3
-----------------------------------------------------------------------------
用法:(控制台窗口输入命令)

    fp3.exe [曲面函数表达式] [取值半径] [观察距离]

-----------------------------------------------------------------------------
控制:
    A、D    按键控制图像 左右旋转
    W、S    按键控制图像 上下旋转
    Q、E    按键控制图像 Z轴倾斜

    Z、X    按键控制图像 缩放
    O、P    按键控制图像 z轴伸缩

    R       按键重置图像,复位键
    空格键  控制图像 暂停、旋转
    回车键  控制程序 关闭

-----------------------------------------------------------------------------
坐标:
    fp3 "z(x,y)=x+y                    直角坐标示例
    fp3 "r(z,v)=sqrt(arccos(z))+v"     柱坐标示例 ( v为 此刻位置矢量r 投影到xOy平面与x轴的到角,z 为高度 )
    fp3 "r(u,v)=5"                     球坐标示例 ( v为 此刻位置矢量r 投影到xOy平面与x轴的到角,u 为位置矢量r与z轴夹角 )
    fp3 "o(i,j)=i-j,j+2,exp(j)"        xyz分量参数坐标( 用参数i,j去表示xyz三分量值,即 "o(i,j)=x(i,j),y(i,j),z(i,j)" )
    fp3 "z(x,y)=sqrt(4-x^2-y^2/t)"     引入时间 t 的四维坐标 ( 时间参数 t 可以出现在任何坐标体系中,构成四维时空函数)

-----------------------------------------------------------------------------
示例:
    fp3.exe  "sqrt(4-x^2-y^2)"  5  2
   
    绘制半球面z(x,y) = sqrt(4-x^2-y^2),其中x,y的取值半径为5(即-5<x<5, -5<y<5)
    在离原点2单位长度的地方观察半球面。
   
    [观察半径],[观察距离] 也可省略,用 fp3.exe "sqrt(4-x^2-y^2)" 可直接绘制。

-----------------------------------------------------------------------------
实例:

    fp3 "sin(2*y)*cos(2*x)" 2 5
    fp3 "sqrt(4-x^2-y^2)" 5 2
    fp3 "1/x/y" 5  10
    fp3 "((4*x^2-5*x-3)-(y^3+2*y^2+5*y-3))/5"
    fp3 "y*sin(x*y)"   8  3
    fp3 "sin(x/cos(y))"   10 5
    fp3 "cos(y/3)/sin(3*x)"   10 5
    fp3 "cos(x*sin(y)*x*cos(y))" 8 5
    fp3 "2*exp(-((x)^2/4-2*0.7*(x)*(y)/6+(y)^2/9 )/2/((1-0.7)^2))"  2  2

-----------------------------------------------------------------------------


演示脚本
  1. @echo off
  2. mode con cols=138 lines=35
  3. echo FP3.EXE(版本1.3) 控制台三维、四维曲面绘图工具。
  4. echo 用法:fp3.exe [曲面函数表达式] [取值半径] [观察距离]
  5. echo 控制:
  6. echo     A、D    按键控制图像 左右旋转
  7. echo     W、S    按键控制图像 上下旋转
  8. echo     Q、E    按键控制图像 Z轴倾斜
  9. echo;
  10. echo     Z、X    按键控制图像 缩放
  11. echo     O、P    按键控制图像 z轴伸缩
  12. echo;
  13. echo     R       按键重置图像,复位键
  14. echo     空格键  控制图像 暂停、旋转
  15. echo     回车键  控制程序 关闭
  16. echo;
  17. echo 每按一次回车键,即可演示下一个函数图像
  18. echo 请按回车键开始演示!
  19. pause>nul
  20. title 锥面
  21. fp3 "sqrt(x^2-y^2)" 5 2.5
  22. title 半球面
  23. fp3 "sqrt(4-x^2-y^2)" 5 2.5
  24. title 蝴蝶结
  25. fp3 "o(i,j)=j*sin(i),i*sin(j),i" 1.3*pi 6
  26. title 空间站
  27. fp3 r(z,v)="cosh(z)%%(v)" 10 5
  28. title 平面
  29. fp3 y
  30. title 三维反比例曲面
  31. fp3 "1/x/y" 5 10
  32. title 蝴蝶面
  33. fp3 "y*sin(x*y)"   2  3
  34. title 蜗牛体
  35. fp3 "r(u,v)=v*sin(u)/5" 5*pi 3
  36. title 伞面
  37. fp3 "r(u,v)=2" pi/2  3 1
  38. title 球体
  39. fp3 "r(u,v)=2" 2*pi 3 9
  40. title 二元正态分布曲面
  41. fp3 "exp(-((x)^2/4-2*0.7*(x)*(y)/6+(y)^2/9 )/2/((1-0.7)^2))"  2  2
  42. title 三维盆面
  43. fp3 "r(z,v)=sqrt(arccos(z))" 10 2
  44. title 太空帆
  45. fp3 "o(i,j)=lg(i),ln(j),1/sin(i+j)" 5 5
  46. title 四维折叠面
  47. fp3 "o(i,j)=i,j,(t)%%(i/sin(t))" 5 5
  48. title 四维山脉体
  49. fp3 z(x,y)=sin(2*pi*x)*exp(-0.5*x*cos(y+t)) 5 5
  50. title 四维波浪面
  51. fp3 sin(x)*cos(y-t)   5 3
  52. title 四维扬声体
  53. fp3 "z(x,y)=-cos(x^2*(1-t)+y^2*(1-t))" 5 3 5
  54. title 四维蜈蚣曲面
  55. fp3 z(x,y)=cos(x*sin(y+t)*x*cos(y)-t) 5 3
  56. title 四维二次曲面4元函数
  57. fp3 "sqrt(4-x^2-y^2/t)" 10 3
  58. echo 演示结束!
  59. pause
复制代码

作者: 老刘1号    时间: 2021-5-4 18:03

这个bse解码,这个帮助文档风格,happy小号实锤了
作者: 523066680    时间: 2021-5-4 19:05

回复 3# 老刘1号


      看标题就知道是happy




欢迎光临 批处理之家 (http://bathome.net./) Powered by Discuz! 7.2