help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "axis scale / dataspectratio" - problem with 3D-graph


From: C.Brueck
Subject: Re: "axis scale / dataspectratio" - problem with 3D-graph
Date: Thu, 5 May 2011 02:14:57 -0700 (PDT)

Hi!

That's perfect!
Many Many Thanks!!

Thats my Code and it works :)

clf;
xc=0
yc=0
zc=0
xr=yr= 7000
zr=5000
n = 20
axis([-8000 8000 -8000 8000 -8000 8000], 'square');
hold on;
[x,y,z] = ellipsoid(xc,yc,zc,xr,yr,zr,n);
mesh(x-8000, y, z);
#hidden off;
set (gca (), "position", [0.13000 -0.05000 0.77500 1.08000]);
plot3 ([-8000 -8000], [0 0], [-8000 8000], "color", "r", 'linewidth', 2);
plot3 ([-8000 -8000], [-8000 8000], [0 0], "color", "r", 'linewidth', 2);
plot3 ([-8000 8000], [0 0], [0 0], "color","r", 'linewidth', 2);
box off;
#axis off;

I've got the problems with the wrong lines with hidden off, too.
But the lines are visible from the front.  I think that should do it.

Greetings!
Clara
http://octave.1599824.n4.nabble.com/file/n3497914/ellipsoid.jpg 

--
View this message in context: 
http://octave.1599824.n4.nabble.com/axis-scale-dataspectratio-problem-with-3D-graph-tp3491951p3497914.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]