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

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

  • 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

  • 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.

  • Data acquisition and waveform graph plot

    Dear All
    My signal is out put of current transformer which is 2v dc. I succesfully configure usb 1208fs with labview8.2. Now I want to plot my input signal on the waveform graph in frequency vs amplitude(db). Can any one guide me how can i plot my data?

    Hi,
    Could you strip the VISA stuff and re-post your VI so I could run it and see where is the difference coming from. A few observations though
    1. Always try to wire from left to right and top to bottom so that your block diagram code is readable.
     2. A waveform graph gets completely redrawn everytime you give it soem data ao it is typically used outside any loops. If you want to display a waveform inside a loop, it is better to use waveform chart.
    Regards,
    Ankita

  • How does one change XY Graph Plot.Style property defaults OR Change the Properties od Individual Plots?

    I have an XY graph with a variable (known) number of multiple plots. Because the number of plots can vary, the plot style is sometimes not what I want. I'm trying to use a property node in a for-loop to change the Plot.LineStyle, Plot.PointStyle, and Plot.Fill/PtColor properties for each of the plots in an XY graph. However, perhaps because the names are not static, the colors do not seem to be updating as I'd like, and I'm really unsure as to why this is happening. Strangely, the LineStyle and PointStyle do seem to be updating as I'd like.
    Please see the attached ScatterColors.zip file which contains the main VI in question (SplitInGroupsScatterByOrder.vi) and two sub-VIs on which it depends. Thanks in advance for your help
    Solved!
    Go to Solution.
    Attachments:
    ScatterColors.zip.zip ‏32 KB

    Hello Pierre,
    This dynamic color feature is still not present in 2009, much less 6.1. I have linked a discussion forum post here that discusses in detail a work around for addiing this functionality. While you may not be able to open their example VIs, the theory is described; such that, you may attempt to replicate in 6.1. 
    Hope this helps. 
    Patrick Corcoran
    Application Engineering Specialist | Control
    National Instruments

  • How do I make an XY-Graph plot points over time?

    I am building a program to plot and take data of a relationship between two voltages.  One is voltage is uniquely dependent on the other.  So far I have successfully built an XY-Graph to plot the voltages against each other (Voltage1 along the x-axis and Voltage2 along the y-axis).  However, the XY-Graph only diplays the point (V1, V2) at the instantaneous time I am looking at it, and does not continuously plot different points as I vary the independent voltage.  I need the graph to display all the points that occur as I vary the independent voltage.  As of right now, all I see is one little cursor that moves all over the graph as I vary it.  My program consists of a While Loop that contains all of the following:  two seperate data anolog input functions that take both voltage separately from my board.  The the output samples from each 'AI Sample' function are then bundled into one cluster using the 'bundle' function.  The cluster output from the 'bundle' function is then wired to a 'build array' function.  The 1-D array output from the 'build array' function is then wired to my 'XY-Graph'.  How do I get the XY-Graph to plot a point every millisecond or so?

    Bundling and then using the Build Array is not correct. Yuo can see the correct method in the help for an XY Graph below. In order to use the normal XY Grpah, you would have two shif registers. One for the X array and one for the Y. Bundle the two arrays and then wire to the graph.
    The other way is to use the Express XY Graph. With that, you can just wire your scalars to the X and Y inputs and set the Reset input to false.
    Message Edited by Dennis Knutson on 11-12-2007 06:32 PM
    Attachments:
    XY Graph 1.PNG ‏21 KB
    XY Graph 2.PNG ‏6 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 legend: How to detect changes in 2nd/3rd/4th ... legend position

    Hello,
    I have an XY-Graph with 4 plots. How can I detect, for example, the color change of the second plot in the legend. The active plot, using a property node, is always plot 0. So I am not able to detect changes in the 2nd/3rd ... plot.
    Any ideas?
    Thanks a lot.
    Best regards,
    Michael
    Solved!
    Go to Solution.

    You can do it with an event sturcture.
    Attachments:
    Plot detect.vi ‏25 KB

  • 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 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

  • XY graph plot colour

    Hi All,
    I have a problem with the XY Graph representation.
    I'm trying to show different plot with different colours in the same graph.
    I realized a VI (8.2 Labview version), but it is wrong because at every iteration all the trace are re-colored with the same
    colour.
    I have two 1D array (X array and Y array) and my goal is to show every (X,Y) point with different colours.
    Could please someone help me?
    I attached the VI and a Front Panel screenshot.
    Thanks in advance for your support,
    Francesco.
    Attachments:
    XYGraph&Color.vi ‏47 KB
    XYGraphColorFrontPanel.JPG ‏164 KB

    Please take a look at this. Hope it helps.
    Message Edited by NitinD on 28-08-2009 07:04 PM
    Attachments:
    XYGraph&Color.vi ‏21 KB
    xygraph.jpg ‏102 KB

Maybe you are looking for