LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

build an ellipse and plot it

Congratulations......this example is perfect!!

 

Thanks!

Larson

0 Kudos
Message 11 of 21
(4,793 Views)

Great example using polar coordinates, I haven't tried that.  You can essentially mane any arbitrary polygon or shape on a coordinate system by the following steps.  Make a 2xN array (2-d example) of the polygon centered at 0,0 with an un-rotated alignment.  The number of points will determine the resolution of the shape but also the speed of the rendering.  Each point is a vertex of the polygon and is scaled from 0 to 1.0.  Then it is a simple fast group of matrix operations, consisting of rotating, scaling and then translating.  Most render engines work this way, and it is extensible to a 3-d model but will require a 3-d render viewport (an additional transformation) for viewing on an XY or picture control.  Does the polar coordinate system work with unsymetrical polygons?

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 12 of 21
(4,780 Views)


@falkpl wrote:
Does the polar coordinate system work with unsymetrical polygons?

Yes!

Here's a simple modification creating a spiral instead of an ellipse (LabVIEW 7.1). 🙂

(scale of A and B is arbitrary)


Message Edited by altenbach on 09-02-2005 07:59 AM

Download All
Message 13 of 21
(4,779 Views)

hello altenbach!

 

Do you have some example code to build an ellipsoide (similar way to buil an ellipse example) and then plot it using a 3D plot block??

 

Thanks!

Larson

0 Kudos
Message 14 of 21
(4,761 Views)
Hi Altenbach, could you save the spiral file as 7.0 please??
0 Kudos
Message 15 of 21
(4,751 Views)
Message 16 of 21
(4,751 Views)

Altenbach's VI was great and very helpful to me.  I made a few minor modifications (Sorry its LV2012) that allow one to create error ellipses for data with correlated errors.  This is a small modification of the complex math approach of Ellipses2.vi.    This can be run in a for loop to build an array of plots, each representing an error ellipse for a single data point.

 

 

Message 17 of 21
(3,519 Views)

hi, I wish if you could help me, 

I am trying to plot spiral around a specific point. actually I have line on the smith chart  connect between two complex point one of them is the minimum and the second one is the maximum. I am trying to plot that spiral around the maximum one on smithchart. I tried to use your VI  but it dosn't work with me. 

could you help me to find solution for this problem.

thank you in advance .

regards

Thoalfukar

0 Kudos
Message 18 of 21
(3,093 Views)

Please do not "hijack" a ten-year-old post.  If you have a question to ask, generate a New Message and ask your question.  It is very helpful to give your Message a good Title so people will know if they should read it or not.  If you need help with your code, be sure to attach your VIs.

 

Bob Schor

0 Kudos
Message 19 of 21
(3,066 Views)

Hi everybody, 

I wish there is some one could help me to get this niRFSA working. I trying to use this VI  in my code to help me working on my computer insted of using the hardware but no way it likes dosn't work. cold any one help me.

 

thank you

best regards 

1.JPGmy Code.JPG

0 Kudos
Message 20 of 21
(3,027 Views)