Path: csiph.com!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: zoom in 3d plots for netbooks/laptops Followup-To: comp.graphics.apps.gnuplot Date: Mon, 17 Sep 2012 19:49:56 -0700 Organization: gnuplot development team Lines: 41 Message-ID: References: <30feb1fb-6bca-4ed5-8759-d5393f810cdb@googlegroups.com> <2f1a409f-e22a-46af-a839-fa6103a870d0@googlegroups.com> <78f05439-ce1a-459a-86b9-7f973987cd8e@googlegroups.com> <0e9f7a0a-9bd4-4b4f-a70f-83a01035159f@googlegroups.com> Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Tue, 18 Sep 2012 02:49:59 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="de68407e1e0278021e2f738a9cf7b10c"; logging-data="1132"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kqz0OuJPO4Ttro9lvOvC7" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:SleViiQIH0h4ASOE/xs2LXRJPIo= Xref: csiph.com comp.graphics.apps.gnuplot:1386 Anthony Falzone wrote: > in 3d i do use the view equal xyz and that works to keep the propeller > blade geometry looking correct. however, as i mentioned i can't seem > to zoom and pan the way i need to view the model good, due to its long > aspect ratio. Let's go back to the top. You ask about panning in 3D. There is no built-in hotkey or mouse action for this, but you can define it yourself as follows. Set up the hot keys: delx = 0 dely = 0 delz = 0 bind x "delx = delx+1; replot;" bind y "dely = dely+1; replot;" bind z "delz = delz+1; replot;" bind X "delx = delx-1; replot;" bind Y "dely = dely-1; replot;" bind Z "delz = delz-1; replot;" Now plot your data set through the defined offsets. The gnuplot demo set doesn't include a sample propellor blade, but it does have a whale. Let's use that. set border -1 set xr [-10:10]; set yr [-5:5]; set zr [-2:2] splot 'whale.dat' using ($1+delx):($2+dely):($3+delz) Your screen should now contain a box with a whale in it. The hotkeys x/X y/Y z/Z will displace the whale within the fixed box. You could similarly add a scale factor hooked up to another pair of hotkeys, applied before or after the offset according to taste. happy whale navigation, Ethan