[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38152] 3d plot of sphere appears squashed wit
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #38152] 3d plot of sphere appears squashed with "axis square equal" |
Date: |
Wed, 23 Jan 2013 18:40:09 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20100101 Firefox/10.0.11 Iceweasel/10.0.11 |
URL:
<http://savannah.gnu.org/bugs/?38152>
Summary: 3d plot of sphere appears squashed with "axis square
equal"
Project: GNU Octave
Submitted by: jwe
Submitted on: Wed 23 Jan 2013 06:40:08 PM GMT
Category: Plotting with gnuplot
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
I expect the following code to plot a sphere. With the fltk+opengl graphics
toolkit, it appears spherical, but with gnuplot, it appears squashed in the Z
dimension. I'm using gnuplot 4.6 patchlevel 0.
delta = pi/40;
theta = 0:delta:pi;
phi = 0:2*delta:2*pi;
[phi, theta] = meshgrid (phi, theta);
r = 5 .* sin (theta);
x = r .* cos (phi);
y = r .* sin (phi);
z = 5 .* cos (theta);
surf (x, y, z)
axis square equal
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38152>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #38152] 3d plot of sphere appears squashed with "axis square equal",
John W. Eaton <=