File: docdraw.mac

package info (click to toggle)
maxima 5.47.0-9
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 193,104 kB
  • sloc: lisp: 434,678; fortran: 14,665; tcl: 10,990; sh: 4,577; makefile: 2,763; ansic: 447; java: 328; python: 262; perl: 201; xml: 60; awk: 28; sed: 15; javascript: 2
file content (7 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
wxitornot(fun) ::= buildq([fun:fun, wxfun:concat('wx,fun), docfun:concat(doc,fun), doc_fun:concat(doc_,fun), name:gensym("name_"), x:gensym("args_")],
  block(
    docfun(name,[x]) := if wxplot_size # 'wxplot_size then apply('wxfun,x) else
    ( print("Test:",name), apply('fun,x), if demo=true then (print("Press <enter> to continue."), readline(stdin) )),
    alias(doc_fun,docfun))) ;

map(wxitornot,[draw2d,draw3d,draw,julia,mandelbrot,plot2d,plot,plot3d]);