Obtaining equations with 3D graph

This is what I'm trying to do but I'm not too certain whether it's doable in Labivew or not.
Basically I have a program which collects bunch data points and insert them into arrays.
The 3 sets of arrays I have are:
Water Weight
Water Ratio
Reflectivities
Basically there are 1 WW and 1 WR array for each reflectivity. (ie. for 10% reflectivity there's a 1D WW array and a 1D WR array). So really the reflectivity array is just some constant numbers used for the sake of implementing the 3D graph.
I want to plot these arrays in a 3D graph. Right now I'm using 3D parametric graph instead of 3D surface graph b/c surface graph doesn't seem to work with the restriction of 2x 1D array and 1x 2D matrix. (Unless someone has a suggestion?)
I managed to plot the data points on the parametric graph. Basically if you plot the WW and WR in 2D you get a polynomial curve. So in 3D you get a surface of bunch polynomial curves.
Now what I want to do is able to select a specific reflectivity value on this 3D surface and get an equation for this particular polynomial curve at this reflectivity. Is this doable in Labivew at all? Helps would be much much appreciated. Thanx.

Wow thanx for the fast responses. I really appreciate it.
Ok let me explain the program a little bit. Basically "Read Grid" moves a computerized linear stage system so the program can collect data at different parts of the sample. The sample is placed on a plate which holds 8 different reflectivity backings (2%-99%) and an empty slot. The sample is wetted and dries up as time goes by. The program collects the sample weight and the measurement data, does some calculation to spit out WW and WR. Since there are 9 different reflectivities I have each WW and WR saved in arrays (so 18 arrays in total).
When the program is done one can analyze the data by clicking "Fit Data." Basically this sub-vi plots the 9 sets of data, does polynomial fits to each and finds the polynomial constants for each reflectivity.
Now it's necessary to be able to predict polynomial constants within the 2%-99% range (for example, say we want 13%). This is why I need to be able to plot a 3D surface/parametric graph, select the reflectivity value I want, and find out the polynomial constants for that specific reflectivity value. Basically you would have a surface that looks something like this:
http://www.leeds.ac.uk/iss/documentation/beg/beg28/beg2802.gif
So yeah the VI I attached previously doesn't have the right surface look.
Here's the screenshot for Read Grid.vi while it's running. Note, the data are kinda nonesense right now:
http://photobucket.com/albums/y218/Tawcan/?action=view&current=screenshot.jpg
Here's the screenshot for plotting 2D graph and finding polynomial constants:
http://photobucket.com/albums/y218/Tawcan/?action=view&current=screenshot1.jpg
I've attached a sample data text file so you would have an idea.
Attachments:
Avg Data.txt ‏3 KB

Similar Messages

  • Equation with dynamic variable

    Is it possible to use one equation with 2 or more variables and make one of these variable as an output without changing the equation?
    Take the equation below example:
    R=x/(0.28706/0.46153+x)*(101.325/P)
    As usual, by inserting the values of x and P, then value of R will be answered.
    But if only the value of R and x can be inserted, how can the value of P to be answered without altering the equation.
    The equation is being used multiple time in the same VI. One is for generating one part of a graph (Mollier Diagram) and the others are to be used to find the value at the intersection.
    I hope my question is understandable.
    Thank you in advance
    -sikat
    Solved!
    Go to Solution.

    R = (x/(a+x)*(b/P) ... thx, this really will be helping me to make this Eq more understandable
    Formula Node:
    It seem that when i entered an equation(Eq), only the left side of the Eq can only be one variable thus producing a single output.
    Case Structure(or SELECT function):
    It changes the formula to a new form for every output. Let say i want make x an output. That means i need to create a new Eq : x=(P*R/b-1)*a, which i want to avoid if posible .
    .... Does this means that a new Eq must be created/converted for each output.
    Newton Raphson zero finder vi: (base on this N-R Example)
    I have tried using this VI by making my Eq equivalent to zero and using SELECT function depending on situation. Somehow i think it will work, but the VI seem too bulky for one simple formula (with 2 variable and 1 output), which i want to avoid since many more formula will be used.
    I ll be glad to see more suggestions.

  • How to insert and edit equations with Math Type in IBA??

    Hi,
    I want to add  fractions in IBA with Math Type.
    Here is what i found:
    And here is the General Preferences
    Like you see, i can't select Insert and edit equations with Math Type, it's grey.
    How can i use Math Type?
    Tx

    We have an article that describes not only how to use MathType with iBooks Author (iBA), but also using LaTeX and MathML. http://www.dessci.com/en/support/mathtype/works_with.asp#!target=ibooks_author_m ac
    It's important to note that no matter how you get equations into iBA, all equations are represented as MathML in the published iBook. (except, obviously I hope, equations that are simply images that you insert)
    If you need more help, feel free to ask here.
    Bob Mathews
    Design Science

  • My Adobe Acrobat 10 Pro creates PDFs with a graph background.  How do I make the background white?

    My Adobe Acrobat 10 Pro creates PDFs with a GRAPH background.  How do I make the scanned documents have a normal white background?

    This particular forum (sharing and storage) was created to help those transitioning from Photoshop.com to Adobe Revel. I will move your post to the correct forum so that it can get proper attention.
    We also have many other forums relating to other Adobe products at: http://forums.adobe.com.
    Out of curiosity, can you tell me how you found our forum page?

  • Interacting with sine graph

    HI all Im new to java and was wondering if anyone could help me with this problem.
    Im trying to draw a sine wave that also allows me to click on aont point withing the graph and mark it with a dot or cross of some kind and in a text box display the coordinates of that position. Can anyone help me on what i need and how it can be done please.
    Thank you very much

    hi, here is one way you can get this to work...
    I'm assuming that you'ore drawing the sine points as some sort of Shape object. In that case all you need is to add a MouseMotionListener to your Container (probably a JPanel) where you draw your graph. Shape objects have a contains() method which will tell you if a point (i.e. the cords of the mouse pointer) are within the shape or not. So, in you motion listener, you just need to compare the cords of the pointer with the cords of all the Shapes that you drew. If there is a match, then use some Popup element to display the data values for that point on your graph.
    There are more complicated (and faster) ways of doing this, but this should give you a good start.
    If you trying to draw an image (graph) then look at the java2d tutorials which show you how to draw shapes and lines.

  • I have some trouble With the graph XY, if I display a curve and try to zoom on it, it may be corrupted, or may disappeare​d.

    In fact this happens on some computers. the graph XY causes some trouble when zooming. Sometimes, when I run my main program and open the window with the graph, it has change the displayed it overflows to the edge of the windows. Or somtimes it works but if I zoom the curves disappeared, or is corrupted.
    I have this for instance on a computer with win 98 and a ATI graphic board. So I try to update all drivers but noting has changed. I try to decrease the hardware acceleration, and it seems to happen less oftenly.
    Does anybody have seen that kind of trouble ?

    > I have some trouble With the graph XY, if I display a curve and try to
    > zoom on it, it may be corrupted, or may disappeared.
    >
    I think what you are describing is not due to video driver, but rather
    to the way the graph works. The LV graph maps points to integer screen
    coordinates and draws lines be tween those point. When the numbers are
    way to large to fit on the screen, the numbers are pinned to a special
    large value. When this happenson one axis but not the other, it causes
    the slope of the line to change and potentially not cross the screen.
    If this is the same effect I'm describing, it only takes place when you
    zoom into the data by a large extent, pushing the other points about ten
    to fifteen monitors away. At this point you are no longer
    looking at
    measured data, but rather just on the interpolation of a line between
    two points. The solution if you must have one is to resample your data
    on the diagram to contain more points.
    Greg McKaskle

  • Solve equation with one unknown parameter (x)

    I am working on a Windows Phone program that calculates taxes due. One of the calculations is a formula/equation with an unknown 'x'. I have searched a lot on solving equations with vb but this really exceeds my - admittedly small - math knob. Perhaps you
    can help me out.
    The equation to solve is (for example):
    ((25000 + x) * 0.06) + x = 16500
    The only unknown variable is x. Does someone know the proper code to solve this equation?

    Are you looking to code some super-intelligent maths equation solver that can solve any type of equation (if so - good luck!)? Or are the equations you want to solve all of the same type?
    The example you gave is of the form (A + x) * B + x = C. You can rearrange that to (1 + B) * x + A * B = C and from there to x = (C - A * B) / (1 + B).
    If all your equations are in that form, you just need to identify the value of A, B and C and use the last formula I gave to calculate x.
    I wasn't going to do that for him.
    Let's see here, he's building a program for tax calculation and he can't do 8th grade algebra??
    Still lost in code, just at a little higher level.

  • Solving nonlinear equation with VI

    Hi,
    I want to use LabView to solve a nonlinear equation. I read forums and figured out that I can use Nonlinear System Solver. vi and I noticed there are two options to write the equation: 1) F(X) is formula and 2) F(X) is VI. I could use the first option and write the equation with that but I did not understand how to use a sub-Vi to provide the equation. Would any one please tell me how to do that?
    Thank you 

    Soran,
    Read the detailed help for the solver VI. 
    The VI usually executes much faster than the formula parser/evaluator. Since solvers (and curve fitters, which have the same options) may need to evaluate the function many times while solving, that time can become significant.
    In the help is a link to a template for the VI you need. You must use the exact connector pane and reference type. While you can create your own VI, it is much easier to use the template. On the block diagram create the code to generate your equation values in the configuration required by the solver. Be careful to put the parameters in the correcto order.
    Lynn

  • How do I solve simultaneous equation with 3 unknowns ?

    I need to solve simultaneous equations with 3 unknowns . Can any body help out on how to go about this? Thanx.

    You did not specify what kind of equations you have....
    Are your equations linear? Check the linear algebra palette and a look at "solve linear equations:.
    LabVIEW Champion . Do more with less code and in less time .

  • Using General Polynomial Fit VI with waveform graph

    Hello gurus ,
    I would like to ask how to use General Polynomial Fit VI with waveform graph not GraphXY .
    Waveform graph is giving me an array of values not X , Y i think , what should i do ?
    Thanks in advance
    Solved!
    Go to Solution.

    Hi Omar,
    i changed the shipped Labview Example to use the General Polynomial Fit VI with a waveform graph.
    But why don't you want to use a X-Y-Graph?
    Regards
    DianaS
    Attachments:
    test.vi ‏37 KB

  • How to intersect two equations in 3D Grapher (Utilities)?

    when I type in two 3D graph equations in Utility Grapher, the "intersection" option is greyed out?  Evidently "intersection" only works for 2D graphs?  What gives Apple iMac Utility , Grapher?

    Hello Calcgraph,
      "Intersection" does not work in 2D or 3D for parametric or implicit curves even if they intersect.
    It does not work for surface equations.
       Why ? I don't know ! That's it since 2001 for Grapher, it was true also for Curvus Pro X 1.3.2, its ancestor.
      So long,
    YB24

  • How to obtain Encore with Premiere CS6?

    How to obtain Encore with Premiere CS6?

    CS5-thru-CC PPro/Encore tutorial list http://forums.adobe.com/thread/1448923 may help
    For help with using/learning Encore, go to https://forums.adobe.com/community/encore/content
    The bottom section of the tutorial link above has several Adobe links, and other information, on downloading Premiere Pro CS6 and the bundled Encore CS6, and the TWO ADDED downloads for the Encore library content, to author a DVD or BluRay... and the tutorial list includes learning how to use Encore... pay particular attention to the picture in reply 3 at this link - https://forums.adobe.com/thread/1516173 (picture first posted by Ann Bens and reposted by Stan Jones)

  • Adding trendline and equation to lv graph in 6.0

    Is it possible to add trendline and equation to a lv graph in 6.0? It is normally done in excel.

    Hi,
    LabVIEW 6.0 does not have any built-in trendline option. However you can use the interpolation functions to achieve the same results. As for adding the equation to the graph, you can do it simply by selecting the "Edit Text" tool from the Tools palette and write the equation in the grid of the graph.
    Hope this helps.
    Ankita

  • How to build an equation with variables

    I want to solve an equation shown in below by the Newton Raphson zero finder vi:
    z-a*b*c*exp(-z/a),
    a, b, and c are variables
    I can build equation with constant a,b,c, but how can I build this one?
    Many thanks!
    Solved!
    Go to Solution.

    A couple of points I usually feel compelled to make when I see the use of the NR method.
    1)  Not an issue in a simple case like this, but the NR routine is typically a poor choice when you have a 1D problem and you calculate the derivative numerically.
    2)  If I am going to hardwire the formula like the previous example, then I will just use a VI instead of a formula.  I only use formulas when I want to be able to make changes on-the-fly.  I am just a bit dubious of the formula parsing VIs in general.
    3) There is a VI called Substitute Variables which will take a set of rules and substitute numbers for parameters in your formula.  Here is a quick example of its use.  Here the names and number of parameters is fixed by the cluster itself.  If I need full flexibility I use a table to hold the parameters and their values, but I do not want to muddy the waters here.  You can just choose your favorite UI and convert (if necessary) to the proper cluster for the substitution rules.

  • Why don't Grapher's Frame Limits work correctly with saved Grapher files using multiple equations on Mountain Lion?

    Hi,
    I generally enjoy using Grapher in OS X (I am using Mountain Lion v10.8.2). However, I have repeatedly encountered what seems to be broken basic functionality in setting the limits on the display frame  (View> Frame Limits…). When opening saved Grapher files with multiple valid equations in them (equations which include constant terms defined as sets of numbers), I repeatedly get the following behavior:
    1. Frame limits are not correctly saved. As in, the file opens with a different view than it was saved and closed in.
    2. Frame limits no longer work as expected. For example, I might set the Y axis frame limits to be -2 to 2, but the Y axis of the frame display will run from about -1.95 to about -0.35.
    3 Performance is degraded. Making a change to the frame limits (for ecxample, changing the Y frame limits to -2.2 and 5 in an attempt to display something approximating the range -2 to 2) take an inordinate amount of both processor time and clock time. The spinning ball appears and hangs out far longer than is welcome, and at times seems to hang requiring a force quit of Grapher.
    These problems occur regardless of coordinate system.
    Is there a solution? If I create a new file and start from scratch the problems reappear. The problems reappear across a wide range of 2D equation types.
    Is Grapher simply broken in this regard?
    Thanks for the input.

    Bonjour Lexy-Lou,
       You are right, the bug was born with Grapher as you may read on the website
    <http://y.barois.free.fr/grapher/> :
    Grapher’s bugs and their remedies (OS X in French).
              Bug nr. 1. (Grapher 1.1, 2.0, 2.1, 2.2, 2.3). When modifying the main 2D window size, the graph length and height already formatted (menu Format) are changed : axis scale values stay the same, added objects remain same size on the same places (unit pixel) relative to the graph left upper corner ; but the graph view changes for the ratio H/L do so : very annoying !
                        The remedy : To restore the 2D graph after changing the window size : menu Format > Layout > Size > redo the initial choice (paper size or L and H values)… or avoid having to do so by selecting a window large enough to begin with.
                        Proposed correction : making the graph size independent of the main window’s one.
              Bug nr. 2. (Grapher 1.1, 2.0, 2.1, 2.2, 2.3). Saving is wrong in 2D (menu File > Save, Save as, Save a copy as). Are not seved : the last location on the screen of the main window, the graph size, the maximum and minimum values of the ordinate scale : very very annoying !
                        Note : The new windows of Grapher 1.1 (Grapher secondary window > New Graph > 2D or 3D Graph) always open in the same place on the screen( OS X 10.4.11 configured in French) depending on the language used by Grapher : if it’s English, well placed and covering most of the screen, if it is French, the windows are half length but same height and are located on the right side of the screen. This anomaly disappeared with Grapher 2.0, 2.1, 2.2 (English or French).
                        The remedy : to restore the 2D graph after opening a GCX files (.gcx) : menu Format > Layout > Size > redo the initial choice (Paper size or L and H values) to be done twice ; then menu View > Frame limits... > enter minimum and maximum vaues of the y scale. This requires to note four numerical values, L, H, y-min, y-max, for example at the top of the equation list (or at the bottom : see bug nr. 27).
                        Proposed correction : complete saving in 2D.
    For the full list of Grapher's bugs please download "Instructions for Use - Grapher" (English) or "Mode d'emploi de Grapher" (French). Quick glance at the Contents (pages 2 & 3) you'll be surprised by the possibilities of Grapher.app despite the bugs.
      Enjoy,
    Au revoir,
    YB24

Maybe you are looking for

  • How to enter a meeting as a host

    Everytime I enter an Adobe Connect meeting, I enter as a participant, however, I am included in the admin group and I should be joining a meeting as a host. This also happens with a few others in my office. Why is this happening? When we check the se

  • My iPhone is not being detected on my laptop itunes. How do I get it to appear under devices?

    My iPhone is not being detected on my laptop itunes. How do I get it to appear under devices?

  • Km & Collaboration images

    Hi everybody, I have a problem, I just install the portal trial version but we aren't able to see the KM & Collaboration images. I look up for the following values: Image path and its value is /irj/go/km/docs/etc/public/mimes/images Image Path of iVi

  • Jobs gets hanged when a call is made to PLSQL function in Data Services XI

    Hi, I am facing the below issue after migration of BODI 11.7 to BODS XI 3.1. The job is not proceeding after the below mentioned statements. print('before call'); $is_job_enable=DS_TEST.TEST.MY_PKG.IS_JOB_ENABLED(job_name()); print($is_job_enable); M

  • How to filter all images with 16 BIT colordepth?

    is there a way in LR (or bridge) to filter all images that are saved as 16 bit images. i noticed i have a lot of scanned photos/slides that don´t need to be in 16 bit TIFF format. 8 bit is enough for them and would save me a ton of HDD space (even wh