# Re: 3-D polar plotting with discrete data points?

Ben <jbenjam@xxxxxxxxx> wrote:

I have data that has something like the following in each line, and
there are about 1000 lines with different values of:

BETA, THETA, PHI, VALUE1, VALUE2, VALUE3

Where BETA, THETA, and PHI are angles. A 3-D polar plot makes sense,
but I'm not seeing that the utilities on matlab central file exchange
are especially useful... BETA, THETA, and PHI are not necessarily
smoothly varying.

Just curious if anyone has a suggestion about which plotting routine
to use to create a 3-D "surface" using such data (I can read it into
an array). The idea is to show how value1, value2, and value3 vary
with changes in beta, theta, and phi.

You could convert to cartesian coordinates, then griddata()
and then mesh() or surf() the result of that.

I'm not sure how you are going to convert to cartesian coordinates,
though, as a 3D cartesian coordinate would normally be two angles
and a distance; having three angles sounds like a 4D surface.
--
Current spam load: 750-800 messages per day (March 4, 2008)
.

• Follow-Ups:
• References:

## Relevant Pages

• Re: Sperical Polar conversion to Cartesian with a twist
... I have a point in xyz. ... I want to convert this direction, defined by the angles to a direction ... Call it phi. ... Call it theta. ...
(sci.math)
• nested stl map question
... I populate it kind of like this (where phi and theta are angles ...
(microsoft.public.vc.language)
• Re: nested stl map question
... okay, I have something working. ... I populate it kind of like this (where phi and theta are angles ...
(microsoft.public.vc.language)
• Re: nested stl map question
... okay, I have something working. ... I populate it kind of like this (where phi and theta are angles ...
(microsoft.public.vc.language)
• Re: Vector rotation
... Roger Stafford wrote: ... >> I have two vectors in cartesian coordinates. ... The angle between those two vectors A and B is ... >> that plane with an angle of theta but at the opposite side of ...
(comp.soft-sys.matlab)