RE: Point is not a Graphics primitive?

*To*: mathgroup at smc.vnet.net*Subject*: [mg85195] RE: [mg85177] Point is not a Graphics primitive?*From*: "Jose Luis Gomez" <jose.luis.gomez at itesm.mx>*Date*: Fri, 1 Feb 2008 02:18:30 -0500 (EST)*References*: <200801310548.AAA25061@smc.vnet.net>

Hi Kevin It seems that Epilog is working on the final 2D representation of the 3D object. Evaluate this (PLEASE NOTICE THAT THE POINT IS TWO DIMENSIONAL, EVENTHOUGH THE COMMAND IS THREE DIMENSIONAL. I also made a huge point so you can easily identify it): Plot3D[Sin[x y],{x,-2,2},{y,-2,2}, Epilog->{Red,AbsolutePointSize[300],Point[{0,0}]}] (in version 6, rotate the graph with the mouse, the 3D function does rotate, but the point stays there, static, in front of the 3D graphics ) Therefore, to do what you want, it seems that is Not a good idea to use Epilog. You better combine graphics with Show: Show[Plot3D[Sin[x*y],{x,-2,2},{y,-2,2}], Graphics3D[{Red,AbsolutePointSize[70],Point[{0,0,0}]}]] Jose -----Mensaje original----- De: Kevin J. McCann [mailto:Kevin.McCann at umbc.edu] Enviado el: Mi=E9rcoles, 30 de Enero de 2008 11:48 p.m. Para: mathgroup at smc.vnet.net Asunto: [mg85177] Point is not a Graphics primitive? The following gives me an error. I would have thought that Point was a Graphics primitive, but vers 6 says no. Any help would be appreciated. BTW a 2D equivalent works fine. Plot3D[Sin[x y], {x, -2, 2}, {y, -2, 2}, Epilog -> {Red, AbsolutePointSize[7], Point[{0, 0, 0}]}] Kevin -- Kevin J. McCann Research Associate Professor JCET/Physics Physics Building University of Maryland, Baltimore County 1000 Hilltop Circle Baltimore, MD 21250