Re: 3-D polar plotting with discrete data points?
- From: roberson@xxxxxxxxxxxxxxxxxx (Walter Roberson)
- Date: Tue, 22 Jul 2008 21:12:58 +0000 (UTC)
In article <2fd5edad-b4eb-462a-a3b8-db8536dd3a1c@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
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
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)
- Prev by Date: Re: Inner Matrix dimensions error
- Next by Date: Re: How to convert output of contourc to match clockwise/counterclockwise
- Previous by thread: 3-D polar plotting with discrete data points?
- Next by thread: Re: 3-D polar plotting with discrete data points?