Xy graph plot values

I have an xy graph with three plots. I need a property node or something (I couldn't find what I need) that I can give a value for X and it will return a value for Y. I don't know the value of Y before hand.
Basically, I need the value of Y for any given value of X.
Thanks!

Wayne,
Since you only need the "value of Y for any given value of X" I would recommend to just SEARCH 1D ARRAY for your X value (which will output the indexed value for X). Then just feed that indexed value to the input of INDEX ARRAY for your Y 1D array. You can control the iterations of this operation by having your # of plots control your loop executions.
Chazzzmd

Similar Messages

  • Iam using a table in numbers to plot daily graph lines. If I fill a cell with a text box  at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is tho

    I am using a table in Numbers to plot daily graph lines. Mood swings of how I am on the day, i"m a depressive.
    If I fill a cell with a step box at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is there a work around. so thatbgraph only plots on the day?

    The answer is (sort of) in your subject, but edited out of the problem statement in the body of your message.
    When you use a stepper or a slider, the value in the cell is always numeric, and is always placed on the chart if that cell is included in the range graphed by the chart.
    But if you use a pop-up menu cell, you can specify numeric or text values in the list of choices for in the menu. Numeric values will be shown on the chart. Text values will not.
    For the example, the values list for the pop-up menu was:
    5
    3
    1
    Choose
    -1
    -3
    -5
    The first pop-up was set to display Choose, then the cell was filled down the rest of the column. Any text value (including a single space, if you want the cell to appear blank) may be used instead of Choose.
    For charts with negative Y values, the X axis will not automatically appear at Y=0. If your value set will include negative values, I would suggest setting the Y axis maximum and minimum to the maximum and minimum values on your menu list, rather than letting Numbers decide what range to include on the chart. Place a line shape across the chart at the zero level, and choose to NOT show the X axis.
    Regards,
    Barry

  • Graph Plot

    Hi,
    I have to plot 4 plots in a graph which has 3 scales(Y1,Y2 and X).In my four plots 3 needs to plot against Y1 and 1 against Y2.
    I have provided cursor option in the graph.Whenever cursor is moved it has to show all 4 plots value according to cursor postion.
    Is there any method to get the cursor position of all plots?I herewith attached the graph for ur reference.In this graph X axis is frequency
    For each cursor move i need to get all 4 plot value at that X value.
    Regards
    Meenatchi
    Attachments:
    sample graph.PNG ‏21 KB

    Hi,
    I joined a new vi with waveforms (8.0), and the screen shot.
    with my version (8.5), i have a little freeze, maybe you won't have this.
    Let me know if it helps you.
    Best regards,
    Vincent
    P.S  for Geeta : Please read the entiere thread before posting ! The title of the message is "One cursor for a lot of plots", and not one cursor for each plots !! You're polluting the discussion. Please use your brain before cliking on "Post"
    Message Edité par ramses64 le 12-03-2008 04:57 AM
    V-F
    Attachments:
    test2.PNG ‏68 KB
    test2.vi ‏30 KB

  • Bode plot instrument reading differs when compared to grapher plot

    Good Day,
    Need some help to understand why the bode plot instrument plot (clicking the instrument to see plot) is different from the grapher plot when run in "simulate >>> analysis >>> AC analysis >>> vertical scale (db) >>> simulate.
    Problem happens if the AC source AC analysis magnitude is changed from 1(default) to another value. i.e 6.
    Please help advise, it seems the bode plotter is only considering the default AC analysis default magnitude value of 1?.
    Appreciate comment on this. Thank you
    The circuit being simulated is AC source connected to an RLC circuit and Vo is accross C. L and C assume some small series resistances.

    Hi educ,
    In the AC Analysis I set the stop frequency to 100 KHz which is the stop frequency of the Bode Plotter instrument. When I ran the analysis after doing this and compared it to the bode plotter, it was a nearly identical output. Try to configure the start and stop frequency to match in the AC Analysis and in the Bode Plotter and you should see much better results.
    Regards,
    Tayyab R,
    National Instruments.

  • 3D graph plot properties - cannot be changed

    Hi all,
    I still cannot change the plot properties of the 3D graph.  I open the Plot Properties tab up and it gets stuck on the first page.
    This means that I cannot release any VIs which use the 3D graph - a big problem.
    Has anyone else experience this?  What do you suggest to fix it.
    Thanks,
    Battler.

    I have experienced exactly the same behavior (can not change 3D graph plot properties) with 3D plots (scatter and surface) in LabVIEW 2011.  The 3D plot properties page works correctly at first but then fails to switch pages after larger data sets have been loaded to the graph.  For example, my scatter graph contains 13 plots, each with 320 points of data.  Once the page "gets stuck" it is stuck for all 3D graphs until the offending graph is deleted and re-created.  To reproduce this issue create at least one 3D plot with a large number of plots in it.
    On a related note, if there was a programmatic method for deleting plots from a 3D graph then it's possible that this issue could be worked around.

  • How can i remember array, a using after next time in graph plot

    Hello i have a two graph , first graph case 'AF' consist with 3 arrays a second graph case 'BF' consist with 3 arrays + i need arrays of case 'AF', how can i do it? I have attached example.
    Thanks
    Attachments:
    0408 (16A) v jednom CASE.vi ‏398 KB

    Hi,
    If i have understood you right, you want to save the AF graph plots.
    am i right? if not plz correct me.
    If i got u right, the simplest is to build a 2 D array by merging your 1D arrays and write to spreadsheeet file.
    Now, you can read it whenever u want and display on the XY graph.
    hope this help, if not, plz eloberate on what you are looking for.
    Regards
    Dev

  • Changing Graph Plot Legend

    I have no problem changing a normal graphs plot legend with a property node, but I'm trying to display three different sets of data on one graph.  I tried doing it using a plot reference with the Plot Legend and using Caption Text.  They should be settable when the VI is running, but the way I was trying to do it I got a reference error (1055 Reference Invalid).  Setting either the Plot Legend or Caption Text would be acceptable if I could just figure it out.
    I'm trying to display 32 spectrums, but only use 8 graphs and have the name of the particular channel change.  Doing this without doing an FFT the channel name gets brought into the graph, but when I use the Power Spectrum VI I don't have the Spectrum Info wired into anything.  So, I'm bringing my original channel name array over and trying to do an iteration to pick the correct plot reference and channel name.
    I've extracted only the part of my code for this question, so hopefully it is easy to look at what I'm doing.
    The first VI and SubVI are functional.  The second SubVI is where I was attempting to change the Caption Text.  I've tried other things too, but I just wanted to show one way I was attempting to do it.
    Solved!
    Go to Solution.
    Attachments:
    Part of Analyzer - Displaying Graph Legend.vi ‏1432 KB
    Calc Channel Indices 1_35.vi ‏27 KB

    I don't have the SV add on so I can't check out your main program. I looked at your sub vi and you're doing more code than you need to. Take a look at my example, I've put your 8 graphs into a cluster then used an array of references along with arrays for your chanel indecies. Maybe it can give you some ideas for your program.
    Attachments:
    Calc Channel Indices 1_35 mod.vi ‏766 KB

  • Change order of wpf graph plots

    I'm trying to solve following issue. Let's say I'm sampling data once per second and showing it on the graph. I want to show history of the data, say last 20 plots using the same color with fading. What I do now:
    - create 21 plots, say Plots[0]..Plots[20] 
    - at meas 1, set Data[0] = data
    - set Plots[0] opacity to 1
    - at meas 2, set Data[1] = data
    - set Plots[1] opacity to 1, Plots[0] opacity to 0.5
    - at meas 3, set Data[2] = data
    - set Plots[2] opacity to 1, Plots[1] opacity to 0.6, Plots[0] opacity to 0.3
    - at meas 21, set Data[20] = data
    - set opacity to 0.1..1
    // we're fine as of now, here comes the tricky part
    - at meas 22 I need to remove the data of meas 0 (stored at Data[0]) and replace it with the new data
    - so I set Data[0] = data
    - set Plots[0] opacity to 1 (it's the newest result)
    - set other plots opacity 0.1..0.9
    // and here is the problem: Plots[0] is now at the bottom of the plot stack and is covered by 20 other plots, thus is barely visible
    so I somehow need to move Plots[0] to the top of the stack
    I've tried removing Plot and Data of the farthest plot and adding creating plot with the most recent data, but it leads to incorrect indices (Plot.Index grows all the time, but Data array stays the same)
    Another option would be to fix plots order and opacity in advance, and change data for all plots all the time. But I assume this would be very slow (think of 20-50 copies of the plot with say 1000 points).
    So, any bright ideas here?

    Idea 1) Pre-allocate all of the fade plots, use BeginInit/EndInit when updating the Data collection, and always apply the newest data to the last plot. In pseudo-code:
        // initial setup
        for( opacity = 0..1 )
            var renderer = new Renderer( opacity )
            graph.Plots.Add( new Plot { Renderer = renderer } )
        // on data update
        graph.BeginInit()
        for( i = 1..graph.Data.Count )
            graph.Data[i - 1] = graph.Data[i] /* shift old data down */
        graph.Data[20] = /* assign new data to the last plot */
        graph.EndInit()
    Idea 2) If you just want the historic data visible in the graph (i.e. you do not need to query or interact with the old data through the graph), and if your range is stable, then you could have one plot in the graph and use a PhosphorColorRamp to get the visual fade effect. In pseudo-code:
        // initial setup
        var brush = new SolidColorBrush( C )
        Graph.SetPhosphorMode( brush, Immediate )
        graph.Plots.Add( new Plot { Renderer = new Renderer( brush ) } )
        graph.RenderMode = Raster
        graph.PhosphorColorRamp = new FadeRamp { Color = C, Duration = 20, DurationKind = Frames }
        // on data update
        graph.Data[0] = /* assign new data to first plot */
    (Note that the phosphor effect is one of the areas being updated, so the syntax will be changing in the next release of Measurement Studio.)
    ~ Paul H

  • Printing graph plot only no background graph

    Hi
    I can able to print total graph ok.
    But i want to print graph plot only no backgroung.
    how can i do it.
    Regards,
    hari

    Check the attached example (created in LabVIEW 9.0f3).
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    Example.vi ‏13 KB

  • Plot values in X-Axis in 2D line graph

    Hi,
    I am using 2D line graph to plot graph but the graph is to be ploted based on date i.e i have a range to be ploted in X-Axis i.e Dates how to plot that please suggest now the values are automatically it is getting ploted
    This is query wht i am using
    SELECT
    pobj.name "Object Name",
    tas.name "Task Name",
    SUM (TCL.NUM_HOURS_DAY1+TCL.NUM_HOURS_DAY2+TCL.NUM_HOURS_DAY3+TCL.NUM_HOURS_DAY4+TCL.NUM_HOURS_DAY5+TCL.NUM_HOURS_DAY6+TCL.NUM_HOURS_DAY7) ) "Effort"
    FROM
    timecard_lines tcl,
    project_objects pobj,
    tasks tas,
    projects pro,
    timecard_headers thr,
    employees epl,
    object_task_estimate ote,
    TIMECARD_PERIODS TP
    WHERE
    pro.id = :P61_PROJECTS and
    tas.id = :P61_TASKS and
    TP.ID = THR.TPD_ID AND
    tcl.pobj_id = pobj.id AND
    tcl.tas_id = tas.id AND
    pro.id = pobj.pro_id AND
    thr.id = tcl.thr_id AND
    thr.emp_id = epl.id AND
    ote.tas_id = tas.id AND
    pobj.id = tcl.pobj_id
    and
    ote.pobj_id = pobj.id and
    pro.id in
    (SELECT pro.id
    FROM projects pro, employee_project_pairs
    epp, project_employee_roles per ,employees empl
    WHERE empl.id = epp.emp_id
    AND pro.id = epp.pro_id
    AND epp.project_role_id = per.id )
    group by pro.project_name,pobj.name,tas.name
    order by pobj.name

    Standard syntax on the Mac is Object, Action. The order is always Select an object (in this case, part of a spreadsheet), then perform an action on or with tat object (in this case, make a chart).
    The same syntax applies to Copy or Cut (and to Paste, althyough it's not as obvious there—the object is whatever is currently on the Clipboard).
    I don't think there is information on printing charts/graphs in the online help. A chart is a graphics object, and is printed as part of the document that contains it. Printing the spreadsheet should also print the chart, provided it is on a page that contains data (AppleWorks's default is to print only the rows and columns that contain data). If you want to print the chart without any of the data, drag the chart over the data to conceal it, and choose the Print options that do not show column or row headers and the cell grid. (These are probably in the AppleWorks options in your Print dialogue, but their position will depend on your print driver.)
    Placing the object (the chart) in another document provides an easier method of printing only the chart, and the method you used (dragging the chart from the spreadsheet to the second document is a common and acceptable one. Dragging an object from one document to another places a copy of the object on the second document, and leaves the original on the original document. This is true in general, not just for charts.
    In the case of a chart, the copy is a static object, while the original maintains its live connection to the underlying spreadsheet—changing a graphed value in the spreadsheet will change the graph to match the new value, but will not affect the copy in the second document.
    Regards,
    Barry

  • Plot graph -y values versus timestamp stored in txt files

    Dear all,
    i have a set of measurement results that i saved in text file. First and second column are timestamp values while third and fourth values are results from my two sensors. Mayi know can anyhow help to extract these results and plot them onto a graph or xy graph? I have problem plotting the timestamp results (x axis) onto the graph.
    I have attach sample of the text files. Thanks for your help!
    Attachments:
    test2.txt ‏1 KB

    Dear all,
    I have the same set of data but it is saved in excel format instead of text file now. However i think the column data are separated by tab, i have tried to use the same code as above but it dont seem to plot out the graph properly. Can anyone help out?
    Attachments:
    test4.txt ‏1 KB

  • I would like to change graph plot with mouse (examples ?)

    hi,
    i'am a beginner in LV and i need some help !
    well, i have an array with data (ex x=1..10 y=15,16,24,..).
    i would like to plot them on a graph and then change the points position.
    - fisrt, with my mouse (dragging)
    - second by changing values on the array. and that without stopping anything or pushing a bottom. I just want to change the values and then update the graph in real time.
    thanks a lot for your help.
    if you have examples or hints you can send them at this adress :
    [email protected]
    Attachments:
    Image2.jpg ‏17 KB

    Just put 10 free cursors on a XY graph and pass the curve thru the cursors
    locations.
    Jean-Pierre Drolet
    "jjparnet" a ecrit dans le message news:
    [email protected]..
    > hi,
    >
    > i'am a beginner in LV and i need some help !
    >
    > well, i have an array with data (ex x=1..10 y=15,16,24,..).
    > i would like to plot them on a graph and then change the points
    > position.
    >
    > - fisrt, with my mouse (dragging)
    >
    > - second by changing values on the array. and that without stopping
    > anything or pushing a bottom. I just want to change the values and
    > then update the graph in real time.
    >
    >
    > thanks a lot for your help.
    >
    > if you have examples or hints you can send them at this adress :
    > jean-jacques.parnet@steria
    .fr
    LabVIEW, C'est LabVIEW

  • Xy graph plot color

    Hi!
    I have a XY Graph with 2 plots. For screen displey I have the Graph with black background color. But for printing I set the BG-color to white and the Plot colors to black.
    Before changing the Plot colors I save the colors with a property node (setting active plot and reading plot color). After printing I try to restore the colors (same way, by setting active plot and writing plot color).
    My problem is that the colors get only restored if I have set them manualy before. Otherwise the value gets saved but not restored and the plots stay black...
    Anyone knows why this happens?
    thanks
    hmann

    There's a number of things that could be going wrong here - could you please post your VI so we can have a closer look?
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • XY graph plot export ?

    Good Day! Can someone help me.....i have some problem with my XY graph representation. How do i generate a function that reads a value of the X axis of the plot and automaticaly gives me the corespondent value on the y axis. I attached two pictures regarding the plot in cause.I tried using the cursor of the waveform graph by checking Allow Dragging>>Single plot . The cursor now follows my plot but it moves only from point to point (the points can be seen in the atachement).I want to make the cursor to move along the plot and give me at a specific X value the corespondent  value on the Y axis. Thank you ...excuse my language) my English is a bit rusty . Have a nice day 
    Attachments:
    ScreenHunter_02 May. 30 11.39.jpg ‏60 KB
    ScreenHunter_01 May. 30 11.38.jpg ‏64 KB

    Do a polynomail fit, then use Polynomial evaluation using the coefficient obtained earlier to get the function value for any x.
    (Of course if there is a theory and a more specific model for the data, you can use nonlinear fit)
    LabVIEW Champion . Do more with less code and in less time .

  • How do I graph plots from the rows of a 2D array?

    I am working on a project in which I have generated a 2D array of values, and would like to graph each row as its own plot. Does anyone have a suggestion for the simplest way to do this? (All the plots should be on the same chart)
    Solved!
    Go to Solution.

    Tim Elsey
    LabVIEW 2010, 2012
    Certified LabVIEW Architect

Maybe you are looking for

  • Fan error on a Hp laserjet P1606dn

    If a Hp laserjet P1606dn experiences a fan error what would you see as a result of this on the self-test/configuration page in the status column? what would be the code shown?

  • Error ORA-01403 no data found upgrade database to 10.2.0.3

    Hi, I am upgrading a database from 8.1.7.4 to 10.2.0.3. I install the software and i create and configure a new listener. When i am try to execute database upgrading assintant i can see my two databases but when i click one of them, and click next th

  • Find path to Web-inf directory from root

    Hi All, I have a application for which the "config.txt" file is placed in "Web-inf" directory. I want to get the complete path to this file so that I can access it and read config info. I am able to acheive this if I write the following piece of code

  • Error message 651 when I try to join Airport Express via Windows 7 laptop

    Hi I have a Macbook Pro - no problems. My daughter has to use a Dell Laptop for work at home and not through choice. It has been working seemlessly joining our Airport Express network, but now refuses to connect automatically or when I click on conne

  • Netconnection.connect.failed

    hi, all. i am a freshman in the flash media server. I write the client with the flex, and the server is the flash media server2, when i connect to the server, the test information tells me the message: netconnection.connect.failed. but i write some t