Jump to content

Question about 3D Surface / 3D Plane


maybe

Recommended Posts

Hello,

I have a problem about the CWgraph3D Control, wondering if anyone has idea how to solve my problem.

So I have 3 points in space, and I am using the CWPlot3D->Plot3DMesh and give the x, y and z vector to have my surface /plane plotted. I am using a XY-Projection. and my 3 points are:

P1 : 0 0 1

P2 : 0 1 0

P3 : 0 0 0

And thus my x vector is <0 0 0>, y vector is < 0 1 0 >, z vector is <1 0 0>

And for the XY-Projection, I wil have three points which are:

P1' : 0 0

P2' : 0 1

P3' : 0 0

As you see, two points apperas to be overlaped each other, and I suppose to see a "line" (if the thickness of the plane is not 0) in the XY projection. Instead, in my plot I see nothing there. I tried to chanage the plot style to surface and line and nothing is shown. I assume it is because the plane is defined as 0 thickness. But I really want to show it as a line (so I want to increase the thickness), what can I do?

Thanks.

Link to comment

QUOTE (maybe @ Oct 10 2008, 04:01 PM)

Hello,

I have a problem about the CWgraph3D Control, wondering if anyone has idea how to solve my problem.

So I have 3 points in space, and I am using the CWPlot3D->Plot3DMesh and give the x, y and z vector to have my surface /plane plotted. I am using a XY-Projection. and my 3 points are:

P1 : 0 0 1

P2 : 0 1 0

P3 : 0 0 0

And thus my x vector is <0 0 0>, y vector is < 0 1 0 >, z vector is <1 0 0>

And for the XY-Projection, I wil have three points which are:

P1' : 0 0

P2' : 0 1

P3' : 0 0

As you see, two points apperas to be overlaped each other, and I suppose to see a "line" (if the thickness of the plane is not 0) in the XY projection. Instead, in my plot I see nothing there. I tried to chanage the plot style to surface and line and nothing is shown. I assume it is because the plane is defined as 0 thickness. But I really want to show it as a line (so I want to increase the thickness), what can I do?

Thanks.

Sorry but you lost me if it is not a simple as setting the line width for your plot.

Please post an example VI with the data saved as a default so someone can help out without having to code from step one.

Ben

Link to comment

QUOTE (neB @ Oct 10 2008, 09:09 PM)

Sorry but you lost me if it is not a simple as setting the line width for your plot.

Please post an example VI with the data saved as a default so someone can help out without having to code from step one.

Ben

Hello,

I tried to set line width, and it does nothing to it. Attached are the example and a function which converts color. Thanks.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.