Graphs - Plot auxiliary lines

I am in trouble with a multi plot graph. There is a wave chart, and I
have to plot an auxiliary line when the user clicks over the graphic.
I know how to get the initial point and the final point of the
auxiliar line, I get the Y scale range and X absolute value, in other
words, the X value of the place that I click. My doubt is in how can I
plot this auxiliary line in the same graph? There is no problem if I
have to use another labView object to do this task.
Another important thing is that one graph can has many independent and
auxiliary lines.
Any ideas, sugestions or examples?
Thank you in advance

Already answered.
Regards,
Fernanda Silveira.

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

  • Problem Plotting a Line Graph

    I am trying to plot some line graphs on Numbers and am a new user.
    I can't seem to work out an issue. I want the numbers on the X axis to ascend from 0 onwards from left to right but at the moment they are descending from 10 to 0 left to right.
    How can I change this so the graph is plotted logically?
    Thanks in advance

    There are two basic types of X-Y charts.  All but one are "category" charts where the X axis is evenly spaced and the "numbers" are actually text. The data will be presented in the order listed in your table.  The other is a scatter chart. The icon for this chart looks like a shotgun blast.
    If your X axis numbers are evenly spaced (0,1,2,3...) you can use either type of chart.  Sort your table in ascending order and it will chart as you want it to.
    If your X axis numbers are not evenly spaced (such as 1,2,4,5,10) and you want the chart to be a true X-Y plot of the data, you have to use the scatter chart.  In contrast to the category charts where the X axis values must be in a header column/row, a scatter chart requires the X and Y data to be in data cells. You may have to move your data over a column so the X data is not in a header column.

  • Stacked Bar Graph with a line plotting count

    Hi everyone
    I am facing a problem with plotting a stacked bar graph with a line or dot for count.
    I have 2 y axes and one x-axes.
    Can anyone help out with suggestions as to how to do this in 9i Reports.
    Thanks
    Neelima

    The graph wizard in Reports 9i allows you to create a dual Y combination graph - is this not sufficient for your needs, or am I missing something?
    Danny

  • I would like to plot two lines with an xy graph in realtime

    I understand how to plot in real time with an xy graph appending to an array, but I would like to simply put a line so I can see when my first plot crosses a certain value on the y-axis, say at like y=30. So I would like to know how it is you can plot two lines in real time. I'll put in my vi so you can take a look at what I have so far. On my vi the array is shortened to contain only 5 values so as not to take up memory.
    Attachments:
    xygraph.vi ‏47 KB

    Hi,
    I have made certain modifications to your vi so that now it plots two lines with an xy graph in realtime.
    Regards,
    Ankita A.
    Applications Engineer
    National Instruments
    Attachments:
    multiplot_XY_graph.vi ‏55 KB

  • Help with jfree regarding plotting multiple lines in a line graph

    hi,
    i have
    < time>
    < volume>
    i have sucessfully used this data to plot a line graph(1 line)
    now i have
    <time> <time2>
    <volume> <volume2>
    how do i put this values into a single line graph? that means, i will have a line graphs with 2 lines.
    Help appreciated. Thanks Alot

    any help? still need help. thanks

  • How do I create a graph with regression lines?

    Hi,
    I have a simple query that returns 2 columns of variable numeric data that I would like to create a chart from.  By using a numeric axis line chart I've been able to plot the individual points.  However, I now want to add a regression line based on those points.  The regression line could be a simple linear regression, a quadratic regression, or more complex 3 or 4 parameter regressions.  Is this possible?
    There could be a number of ways of creating the parameters (eg slope and intercept for a linear regression):
    a) Crystal Reports could calculate them whilst drawing the line
    b) I could create a formula that provides the parameters that CR could use to plot the line
    c) I could return the parameters from the database as part of the same or a separate query.
    Thanks

    Hi Colin,
    I just added a regression line to one of my charts yesterday   I did it by right clicking on the line (or in my case it was the bar) on the graph.  Then I picked Trendlines.  There are about 16 different formulas available.  I picked Linear Regression for mine and it gave me exactly what I needed. 
    Hope that helps,
    Cyndi

  • Combine a Bar Graph with a Line Graph!

    Is it possible to combine a Bar Graph with a Line Graph because occasionally we wish to use both bars and lines on the same plot.
    If yes, could you please give us a sample rtf file?
    Thanks,
    -Ritu

    Hi Tim,
    To be more clear, I need to superimpose the two graphs.
    For example,the first one shows the budget for each month along with the actual expenditures as a bar graph. The other shows the cumulative budget, forecast and costs for the entire project as a series of lines. The first graph uses the scale on the left side of the graph and the second graph uses the scale on the right side.
    Thanks,
    -Ritu

  • [iPhone] Plot a line chart (like Stocks appl)

    Hi all,
    I want to plot a line chart like the one that we can see in the Apple Stocks application.
    Is there a framework or library or widget that I can use? Or have I to use "raw" Quartz2D functions?
    Thank you very much!

    There's no specific plotting support in the SDK. There are a number of 3rd party libraries for OS/X, and some of these seem to be in the process of being ported to iPhone. Here's one of the few ports that's ready for download: [http://fluidiphone.com/2008/11/25/ported-phgraph-to-iphone].
    You might also take a look at the Google Chart API: [http://pmougin.wordpress.com/2007/12/10/google-chart-api-fun-with-cocoa-and-f- script>.
    As mentioned at the fluidiphone link, the AccelerometerGraph sample app at the Dev Center includes a very simple plotting example, but you'd probably need to enhance that code to do very much with it.
    Except for the sample app, I haven't tested any of the libraries yet so am just summarizing what's out there, not making any recommendation.
    Hope that helps!

  • 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

  • Dynamic plotting of line using OpenMap API

    Hi
    Anyone know how to plot a line dynamically using OpenMap API
    Thanks
    Madhan

    I see... I played around with the line chart ...
    Hopefully this helps... if not forgive me...
    I know why you are trying to use the id property which i
    agree doesn't work.
    since the series is an array in your lineChart use the index
    to set the visible property false/true.
    lineChart.series[0].visible = true/false;
    <mx:Lineseries id="a1" visible="true"
    dataProvider="{whatever}" />
    <mx:Lineseries id="a2" visible="false"
    dataProvider="{whatever}"/>
    create a function called init();
    public function init():void
    var lineS1:LineSeries = new LineSeries();
    lineS1.visible = true/false;
    lineChart.series.push(lineS1);
    var lineS2:LineSeries = new LineSeries();
    lineS2.visible = true/false;
    lineChart.series.push(lineS2);
    ... and the key is to call this init function on initialize
    event...NOT on createComplete event
    <mx:LineChart.... initialize="init()" .... />
    and to show both lines... call this function...
    public function showLines():void
    lineChart.series[0].visible = true;
    lineChart.series[1].visible = true;
    Hope this helps....

  • 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

  • How to run Endeca Graphs from command Line

    Hi,
    I would like to know if there is any way to run Endeca Graphs from command line in Windows.
    Thank you,

    The correct way to execute a graph using the command line in windows is.......
    Execute the following command from the project folder:
    C:\Oracle\Endeca\Discovery\3.1.0\IntegratorETL\configuration\org.eclipse.osgi\bundles\5\1\.cp\lib\bin\clover.bat -plugins "/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/5/1/.cp/lib/plugins;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/6/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/9/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/14/1/.cp/lib/plugins/;C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/21/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/23/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/plugins/com.endeca.latitude_1.0.0/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/358/1/.cp/lib/plugins/" -noJMX graph\graph_name.grf
    Our costumer needed to run some ETL process from ODI and once it finished start a Clover ETL process (automatically). So we created a .bat file witth the above command and then in ODI we created a package with all ETL interfaces and the last step of the package was a OScommand component that excecuted the .bat script from the Endeca's project folder.
    Hope you find this post helpfully.

Maybe you are looking for

  • PM preventive PM Order confirmation on the basis of object list

    Dear Experts, In paintenance plan I have funtional location.In object list I have 5 Equipments.Now when order is generated there are 4 operations.All the operation is same to all equipments.Is it right. Now when I am going for its confirmation,I don'

  • Write filename somewhere in a PDF when exporting from InDesign?

    Is there a way, when exporting a PDF from InDesign, to somewhere/somehow auto-embed the filename into the resulting PDF? Doesn't need to be "visible" in the job, but needs to be accessible somehow. I'm working with a very difficult client who changes

  • Raw files transferring from iPhoto into Lightroom as JPEGs

    I know this makes me sound like a newbie but in lightroom 3 the raw files were listes as .crw when I imported them from iphoto but in lightroom 4.1 they are showing up as .jpg.  Am I doing something wrong? Are these actually RAW files I am working wi

  • Can I use my 2013 27'' iMac as a monitor for my Xbox 360

    It's all in question really, I'd like to use my imac to play my Xbox. Does anyone have any ideas? Cheers Ollie

  • Currency Conversion Type missing in BEx

    I have created a new conversion translation type M1 based on Monthly Average exchange. RSCUR definition for  this conversion on the time ref tab to be a "variable time reference"- End of Period for Standard Info Object Fiscal Period "0FISCPER". Is th