# Tema 10
10-2  Representación gráfica de funciones
          reales de dos variables

kill(all)$

f1(x,y):=2*(x-1)^2+2*(y-1)^2;

plot3d(f1(x,y), [x,-5,5], [y,-5,5],
 [gnuplot_pm3d,false])$

wxplot3d(f1(x,y), [x,-5,5], [y,-5,5],
[gnuplot_preamble, "set pm3d at b"])$

wxplot3d(f1(x,y), [x,-5,5], [y,-5,5],
[gnuplot_preamble, "set hidden3d"])$

wxplot3d(f1(x,y), [x,-5,5], [y,-5,5],
 [gnuplot_preamble, "set pm3d at s; unset surf; unset colorbox"])$

Ejemplo 10.2.2

kill(all)$

f2(x,y):=x^2-y^2;

plot3d(f2(x,y), [x,-5,5], [y,-5,5],
 [gnuplot_pm3d,false])$

wxplot3d(f2(x,y), [x,-5,5], [y,-5,5],
[gnuplot_preamble, "set pm3d at b"])$

wxplot3d(f2(x,y), [x,-5,5], [y,-5,5],
[gnuplot_preamble, "set hidden3d"])$

wxplot3d(f2(x,y), [x,-5,5], [y,-5,5],
 [gnuplot_preamble, "set pm3d at s; unset surf; unset colorbox"])$