File: plotting10.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 (5 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (4)
1
2
3
4
5
F(x) := x^2$
:lisp (defun |$g| (x) (m* x x x))
H(x) := if x < 0 then x^4-1 else 1-x^5$
plot2d ([F,G,H], [u,-1,1], [y,-1.5,1.5], [pdf_file,"./plotting10.pdf"]);
plot2d ([F,G,H], [u,-1,1], [y,-1.5,1.5], [png_file,"./plotting10.png"]);