LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ploat a hyperbola

Solved!
Go to solution

My bad, forgot to save with the default values properly set.  Since I assumed you were ultimately looking to do a little more than plot that specific hyperbola, I gave you a general formula with parameters.

 

 

0 Kudos
Message 11 of 18
(2,931 Views)

Alain S wrote:
...

 

 

EDIT: Altenbach is better in LV programming and faster in typing than me Smiley Sad

...

That is a truism that warrents promotion to the LV Proverbs thread.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 12 of 18
(2,918 Views)
Solution
Accepted by Kolos
I have forgotten quite a bit about conic sections, but I still know my latus rectum from a hole in the ground.  The points you called A and B are the foci, let's assume they are symmetricly placed on the x axis A=(-f,0) B = (f,0).  The number '3' you used is the length of the transverse axis (minimum distance between the two sections), I'll call that C.  You can convert this to the form I used ax^2 - by^2 = 1 with the following equations: a = (2/C)^2, b = 1/(f^2 - a^2).  The attached vi lets you enter the focal distance (f) and the transverse axis length (C). 
Message 13 of 18
(2,905 Views)

Alain S wrote:

EDIT: Altenbach is better in LV programming and faster in typing than me Smiley Sad


OTOH, it would not hurt to be faster in programming and better in typing. 😄

0 Kudos
Message 14 of 18
(2,894 Views)

Huh man! Thanks!

Can i somehow plot my A and B point in the same graph?( (-f,0) and (f,0) )

0 Kudos
Message 15 of 18
(2,871 Views)
Yes, create a second plot for your xy graph that only contains these two points and has a point style.
0 Kudos
Message 16 of 18
(2,862 Views)

I can't do it... 

0 Kudos
Message 17 of 18
(2,834 Views)

Maybe something like this?   Modify as needed....

 

 

Message Edited by altenbach on 07-27-2009 09:16 AM
0 Kudos
Message 18 of 18
(2,818 Views)