Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,549 Was thanked: 1309 time(s) in 767 post(s)
|
Make sure to use the latest version. Restart SMath Studio if functions unavailable. Turn off autocalc mode.Something wrong with the SMath Studio I think, there is no working example because I can't save the worksheet. But if you want to try I can get the list of functions which was used in my example (you must manually enter each function ([Ctrl+C] [Ctrl+V]) and press equal sign). Test example: Code:
dislin.metafl("svg")
dislin.setfil("d:\\file.svg")
dislin.errdev("FILE")
dislin.errfil("d:\\out.txt")
dislin.filmod("DELETE")
dislin.disini(0)
dislin.disfin(0)
Code:
N:50
for(n,range(1,N),line(el(x,n):{2*π}/N*(n-1),el(y1,n):sin({2*π}/N*(n-1)),el(y2,n):cos({2*π}/N*(n-1)),3,1))
dislin.metafl("svg")
dislin.setfil("d:\\file.svg")
dislin.errdev("FILE")
dislin.errfil("d:\\out.txt")
dislin.filmod("DELETE")
dislin.units("INCH")
dislin.page(800,600)
dislin.disini(0)
dislin.reset("ALL")
dislin.pagera(0)
dislin.complx(0)
dislin.chacod("UTF8")
dislin.axspos(100,520)
dislin.axslen(650,400)
dislin.name("Ось X","X")
dislin.name("Ось Y","Y")
dislin.labdig(1,"X")
dislin.ticks(5,"XY")
dislin.titlin("Пример работы с графиками",1)
dislin.titlin("Функции: sin(x), cos(x)",3)
dislin.linmod("ON","SMOOTH")
dislin.graf(0,2*π,0,π/4,-1,1,-1,0.5)
dislin.color("blue")
dislin.curve(x,y1,N)
dislin.color("red")
dislin.curve(x,y2,N)
dislin.color("fore")
dislin.title(0)
dislin.dash(0)
dislin.grid(1,1)
dislin.solid(0)
dislin.xaxgit(0)
dislin.disfin(0)
EDIT: Tested only with Win x32. Don't forget to show log.txt (in the plugin directory: 23831ed7-5051-46d5-aaa8-b2fb40002ec1\x.x.x.x\) if something not working. Edited by user 14 February 2016 20:30:42(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
2 users thanked uni for this useful post.
|
on 14/02/2016(UTC), on 14/02/2016(UTC)
|