Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #953

Re: Isometric view is distorted

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!m7g2000vbw.googlegroups.com!not-for-mail
From Yrogirg <yrogirg@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Isometric view is distorted
Date Tue, 21 Feb 2012 20:15:33 -0800 (PST)
Organization http://groups.google.com
Lines 47
Message-ID <cc994437-21b2-4db5-9c35-c66aa35ecf63@m7g2000vbw.googlegroups.com> (permalink)
References <b1098bd8-34fc-453f-9aae-f281545c316f@t30g2000vbx.googlegroups.com> <9qie17F1sfU1@mid.individual.net>
NNTP-Posting-Host 188.32.149.164
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1329885043 12962 127.0.0.1 (22 Feb 2012 04:30:43 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Wed, 22 Feb 2012 04:30:43 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info m7g2000vbw.googlegroups.com; posting-host=188.32.149.164; posting-account=HlojigoAAADU9tY4PRZBIhx6ODFDZFr9
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-Header-Order HUALENKRC
X-HTTP-UserAgent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2,gzip(gfe)
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:953

Show key headers only | View raw


On Feb 22, 12:44 am, Ingo Thies <ingo.th...@gmx.de> wrote:
> Am 2012-02-21 19:21, schrieb Yrogirg:
>
> > How do I make 3D view look as it should be? Now when looking from the
> > top the square is not a square, but rather a rectangular or diamond
> > (and anything between). See the screenshots.
>
> My standard header for isometric splots includes the commands
> "set xyplane 0" and "set view equal xyz". Here is a sample script which
> might be what you are looking for:
>
> set term x11 size 800,800 # set a square canvas
>
> ## some variables
> kzoom=1.2
> phi=30.
> theta=60.
>
> ## Ranges example (10 ist the default range for x,y here):
> set xrange [-10:10]
> set yrange [-10:10]
> set zrange [-10:10]
>
> ## the relevant gnuplot commands
> set xyplane 0       # removes the offset of the xy plane
> set view equal xyz  # force equal units to all three axes
> set view theta,phi,kzoom
>
> set iso 100, 100
>
> splot sin(x)*cos(y) with pm3d
>
> The variable kzoom just sets a convenient initial zoom factor for a
> screen-filling plot, and phi,theta are the angles which are dynamically
> varied with the mouse. But in most cases, you can leave it at 1.
>
> There might be some fine-tuning needed for the placement of the
> legend(s), or just unset them by "unset key" and/or "unset colorbox".
>
> This works for gnuplot 4.4 patchlevel 4 (my stable version), but should
> with yours as well.
>
> HTH,
>
> Ingo

Thank you.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

Isometric view is distorted Yrogirg <yrogirg@gmail.com> - 2012-02-21 10:21 -0800
  Re: Isometric view is distorted Ingo Thies <ingo.thies@gmx.de> - 2012-02-21 21:44 +0100
    Re: Isometric view is distorted Yrogirg <yrogirg@gmail.com> - 2012-02-21 20:15 -0800

csiph-web