From: Mario R. <bio...@te...> - 2011-03-30 17:32:15
|
El lun, 28-03-2011 a las 16:17 -0300, da...@fc... escribió: > Soy profesora de matemática y estoy estudiando el software maxima para > aplicarlo con mis alumnos. Necesito saber cómo graficar rectas en el > espacio, alguien me podría decir?.Desde ya muchas gracias! > Hola: Se me ocurren dos maneras de hacerlo con el paquete draw (sin duda, también con plot) Si tienes un punto A y un vector de dirección v: load(draw) $ A: [2,1,3] $ v: [-1,1,2] $ draw3d(parametric(A[1]+t*v[1], A[2]+t*v[2], A[3]+t*v[3], t, -3, 3)) $ Si quieres el segmento de extremos A y B: A: [2,1,3] $ B: [5,6,1] $ draw3d( points_joined = true, point_size = 0, points ([A, B]) ) $ -- Mario |