Received: by 10.180.103.37 with SMTP id ft5mr2955800wib.0.1347932095390; Mon, 17 Sep 2012 18:34:55 -0700 (PDT) Received: by 10.52.65.74 with SMTP id v10mr1123112vds.18.1347932095211; Mon, 17 Sep 2012 18:34:55 -0700 (PDT) Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.212.215.MISMATCH!7no19511841wig.0!news-out.google.com!ed8ni114471314wib.0!nntp.google.com!v8no17462qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Mon, 17 Sep 2012 18:34:55 -0700 (PDT) In-Reply-To: <0e9f7a0a-9bd4-4b4f-a70f-83a01035159f@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=96.19.11.179; posting-account=kfVMwAoAAAAaWEbfk2y_2nkkflcl0oB5 NNTP-Posting-Host: 96.19.11.179 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> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <27b66554-4249-41fa-8d0c-552b61723fff@googlegroups.com> Subject: Re: zoom in 3d plots for netbooks/laptops From: Anthony Falzone Cc: sfeam@users.sourceforge.net Injection-Date: Tue, 18 Sep 2012 01:34:55 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: csiph.com comp.graphics.apps.gnuplot:1384 On Monday, September 17, 2012 4:59:37 PM UTC-5, Anthony Falzone wrote: > On Monday, September 17, 2012 11:45:46 AM UTC-5, sfeam wrote: >=20 > > Anthony Falzone wrote: >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > > one thing i found >=20 > >=20 >=20 > > > in a previous forum topic would be really nice to implement as well. = that >=20 > >=20 >=20 > > > being xrange=3Dyrange. so that 2d plots are scaled properly when you= don't >=20 > >=20 >=20 > > > already know the scales involved. that or being able to do stuff lik= e set >=20 > >=20 >=20 > > > xrange [ymin:ymax]. same effect. >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > 2D command: >=20 > >=20 >=20 > > set size ratio 1.0 >=20 > >=20 >=20 > > or set size square >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > 3D command: >=20 > >=20 >=20 > > set view equal xy >=20 > >=20 >=20 > > or set view equal xyz >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > However, these commands work only if the output device correctly report= s >=20 > >=20 >=20 > > the aspect ratio of its display area. Not all terminal types do this. >=20 > >=20 >=20 > > For instance, the above commands will work correctly in the qt or wxt >=20 > >=20 >=20 > > interactive terminals, but not in x11. >=20 >=20 >=20 > thanks i was not aware of the set size square command. that is helpful i= n some cases, however, it isn't helping my issue. i have an airfoil shape = and the view is distorted unless the xrange and yrange are the same. in 3d= i do use the view equal xyz and that works to keep the propeller blade geo= metry looking correct. however, as i mentioned i can't seem to zoom and pa= n the way i need to view the model good, due to its long aspect ratio. i made a work around. i wrote the *.plt entirely in Fortran 77. i just add= ed some code to the one i was using the generate the *.dat file. this allo= wed me to scale the axes as needed. the reason i made this plot was to get= around the 3d zoom problem. so i can now view all the geometry. some in 3= d and the rest in 2d. here is some of the code in case anyone is interested= . CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC C C CREATING GNUPLOT *.PLT FILE FOR AIRFOIL CURVES C CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC C ZMIN =3D 1.10D0 * 1000.0D0 * ( 0.250D0 * & CHORD(1) - ( ( CHORD(1) / 100.0D0 ) * AFXTAB(25) ) ) C WRITE (20,*) 'reset' C WRITE (20,*) 'set grid' C WRITE (20,*) 'unset key' C WRITE (20,*) 'set title "Airfoil Curves" font "*,14"' C WRITE (20,*) 'set xlabel "Y-Axis [mm]"' C WRITE (20,*) 'set ylabel "Z-Axis [mm]"' C WRITE (20,*) 'set xrange [', DINT(ZMIN), ':', DINT(-ZMIN), ']' C WRITE (20,*) 'set yrange [', DINT(ZMIN), ':', DINT(-ZMIN), ']' C WRITE (20,*) 'set size square' C WRITE (20,*) 'unset pm3d' C WRITE (20,*) 'set lt 1 lw 1.0 pt 7 ps .8 lc rgb "black"' C WRITE (20,*) 'set lt 2 lw 1.0 pt 7 ps .8 lc rgb "black"' C FN1 =3D '''AIRFOIL_CURVE_A.XYZ' C FN2 =3D '''AIRFOIL_CURVE_B.XYZ' C WRITE (20,*) 'plot ', FN1, ''' using 2:3 smooth bezier with', & ' lines,\' C WRITE (20,*) ' ', FN2, ''' using 2:3 smooth bezier with', & ' lines' C CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC if you could still consider my requests, they would be most helpful. this = is just a work around given the current state of gnuplot (version 4.6.0).