cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a 3d separation plan on a 3d scatter plot

PhilipOakley
5-Regular Member

Creating a 3d separation plan on a 3d scatter plot

I have been doing some classification style worksheets that separate tow data sets with a hyperplane.

Plotting the two data sets in 3d with a scatter plot and two colours for the data points is relatively easy.

I now have a separating hyperplane in the form w.x=0, where x[0 is unity, so w[0 is the intercept.

What is the neatest, best way of creating and displaying the 3d separating hyper-plane based on the above formulation. I'm happy to apply transparency to the plane, but creating the right 'mesh' has eluded me.

It would be desirable if the size of the hyperplane didn't cause the scatter plot to significantly re-size.

Thoughts?

I'm running V14/15. stuff that works on V11 would be good to.

Philip

3 REPLIES 3

Hi Phillip,

Not sure I fully understand what you mean by a separating hyper-plane.

Below is something I put together to show cloud data (experimental) and how the data can be sliced at a particular plane to identify max/min values with a single scatter data set.

.

slicedata_plane.png

I can share the worksheet (v14/15) if its close to what you require.

Best regards,

Thomas

Thomas, Yes a working sheet would be useful.

In my case I have the weight vector to the normal to the hyperplane, and it's intercept.

The problem is in making the inserted plane the right size / extent so that the overall image auto-zooms to the right size.

Hi Philip,

Here is the file.

I used some functions from the ebook "Creating Amazing Images with Mathcad 14" created by Byrge Birkeland.

There are a wealth of useful functions he has built in there.

You can find it here if interested http://communities.ptc.com/community/mathcad/mathcad-usage/blog/2010/05/27/creating-amazing-images-w...

Hope it helps.

Regards,

Thomas

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."