Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Plot questions of ellipsoids

Subject: Plot questions of ellipsoids

From: Els

Date: 14 May, 2010 10:19:05

Message: 1 of 5

Two questions on ellipsoid questions:

1.
In a for loop, I use the command [x,y,z] = ellipsoid() twice, where the second one uses the [x,y,z] to rotate these values.
But the first ellipsoid I do not want to show, only the second one with the rotated coordinates. How do I make the first ellipsoid invisible?

2.
I have two points on the surface of my ellipsoid. I calculated the distance between them with the Vincenty formula. But now I want to plot this distance on the ellipsoid distance as well. For a sphere this is easy, but I do not know how to do it for an ellipsoid.

Subject: Plot questions of ellipsoids

From: us

Date: 14 May, 2010 11:15:27

Message: 2 of 5

"Els " <y.e.t.reeuwijk@student.utwente.nl> wrote in message <hsj82p$f37$1@fred.mathworks.com>...
> Two questions on ellipsoid questions:
>
> 1.
> In a for loop, I use the command [x,y,z] = ellipsoid() twice, where the second one uses the [x,y,z] to rotate these values.
> But the first ellipsoid I do not want to show, only the second one with the rotated coordinates. How do I make the first ellipsoid invisible?
>
> 2.
> I have two points on the surface of my ellipsoid. I calculated the distance between them with the Vincenty formula. But now I want to plot this distance on the ellipsoid distance as well. For a sphere this is easy, but I do not know how to do it for an ellipsoid.

CSSMers would have to know what ELLIPSOID() does, eg, does it return handles to its line(s), axis,... -or- does it tag these primitives with special key words,...

if you can access line handles (eg, LH), for instance, you could use

     set(lh,'visible','off');
% -or- delete them altogether
     delete(lh);

us

Subject: Plot questions of ellipsoids

From: Els

Date: 14 May, 2010 11:36:04

Message: 3 of 5

You can acces the handles, but then the [x,y,z] is not possible.
Because the handles are only available for the ellipsoid(axes_handle,...) option.
So, your solution will not work in my case.

Subject: Plot questions of ellipsoids

From: us

Date: 14 May, 2010 11:42:05

Message: 4 of 5

"Els " <y.e.t.reeuwijk@student.utwente.nl> wrote in message <hsjcj4$41g$1@fred.mathworks.com>...
> You can acces the handles, but then the [x,y,z] is not possible.
> Because the handles are only available for the ellipsoid(axes_handle,...) option.
> So, your solution will not work in my case.

why not(?)...
these are not related...
one really would have to see the code...

us

Subject: Plot questions of ellipsoids

From: Els

Date: 15 May, 2010 23:49:07

Message: 5 of 5

I am still hoping anyone can help me with these plot questions. The line on the ellipsoid and to not make the standard ellipsoid function of matlab visible.

Thanks in advance.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us