|
From: Zhong R. <re...@uc...> - 2009-05-26 19:18:42
|
Thank you Thomas, It works well for me. One additional question: how does gnuplot decide the rotation center of a 3D object? For example, if I do 'splot 0.2*cos(u)*cos(v), cos(u)*sin(v), sin(u)', the 3D oval swings from one side of my window to the other when I rotate it. If I do 'splot 0.1*cos(u)*cos(v), cos(u)*sin(v), sin(u)', the object swings in and out of the window. Can I specify a rotation center? Zhong ---- Original message ---- >Date: Fri, 22 May 2009 12:55:49 -0700 (PDT) >From: Thomas Sefzick <t.s...@fz...> >Subject: Re: [Gnuplot-info] how to draw a sphere that looks like a round sphere >To: gnu...@li... > > >start with a graphics window which is a square: >set term <terminal_type> size <XX>, <YY> >with XX = YY > >set view equal xyz > >set xyplane relative 0.0 > > >renzresearch wrote: >> >> The sphere I draw in parametric mode looks flattened in z >> direction, even I use 'set view equal xyz'. >> >> I managed to use 'set view equal xy' and 'set view' to change >> scale and scale_z. My sphere is now close to round. The >> problem is that its vertical size keeps changing when I spin >> the sphere or resize the window. >> >> Could someone give a hint? There must be a simple option to >> make a sphere a perfect sphere no matter how you look at it. >> >> Zhong >> >> ------------------------------------------------------------------------------ >> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >> is a gathering of tech-side developers & brand creativity professionals. >> Meet >> the minds behind Google Creative Lab, Visual Complexity, Processing, & >> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian >> Group, R/GA, & Big Spaceship. http://www.creativitycat.com >> _______________________________________________ >> Gnuplot-info mailing list >> Gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> >> > >-- >View this message in context: http://www.nabble.com/how-to-draw-a-sphere-that-looks-like-a-round-sphere-tp23664704p23676649.html >Sent from the Gnuplot - User mailing list archive at Nabble.com. > > >------------------------------------------------------------------------------ >Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >is a gathering of tech-side developers & brand creativity professionals. Meet >the minds behind Google Creative Lab, Visual Complexity, Processing, & >iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian >Group, R/GA, & Big Spaceship. http://www.creativitycat.com >_______________________________________________ >Gnuplot-info mailing list >Gnu...@li... >https://lists.sourceforge.net/lists/listinfo/gnuplot-info |