电机设计软件
过这个就可以方便的区分每条曲线的意义,要观察图形,直接使用Plot程序打开即可。
EditPline "LineIn"
AddVert [12, 0, 0]
AddVert [12, 249.75, 0]
EndPline 0
Enter "B"
Mag
smooth
EnterLine "LineIn"
Assign sFileName "Result_LineIn.dat"
Assign sLineName StrConcat "LineIn" nValue
Assign nReturn FileExists(sFileName)
If EQ nReturn 1
Load2DPlot sFileName
LinePlot2D sLineName 10 2 3 1 0 1 0
Else
LinePlot2D sLineName 10 2 3 1 0 1 1
End
Save2DPlot sFileName
CloseWindow
Clear
DeleteLine "LineIn"
3、如何输出整个参数化求解过程中一个点的值
与输出直线的方法类似,只是这里文件输出要采用直接读写的方法:
DefinePoint "PtMid" [15, 14, 0]
FileWrite sFileName "a" "$$\t" {nValue}
Enter "B"
Mag
EnterPoint "PtMid"
Value
Evaluate
Assign nTemp GetTopEntryValue
FileWrite sFileName "a" "$$\t" {nTemp}
Clear