Arrow in Graph

HI,
    I have a graph with x axis as speed and y axis as time. I need to display an arrow at certain data points not for all data. I have attached a jpg of my graph, the numbers in green colored are displayed using annotations of xy graph. I need to display the yellow arrows at certain data values as shown in the jpg.  
Attachments:
graphanno.jpg ‏58 KB

Hi jay,
you can use Annotations (there's an example VI for exactly that purpose) or an additional plot to "draw" the arrows in the XY-graph...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • Waveform graph plot legend in labview 8.5 won't respond to arrow keys?

    I heard labview 8.5 fixes most of the problems that plague 8.2, so I recently installed it to try it out and see if it is worth the effort of another upgrade.  Messing around today, I found an issue that wasn't related to the installer itself.
    The plot legend on a waveform graph doesn't appear to respond to arrow keys for precise placement.  It doesn't matter whether auto-size plot legend is turned on or off.  When I want to place a plot legend very precisely, just like with any other labview control I like to use the arrow keys to get things perfectly aligned.  I want to make the plot legend perfectly in the corner of the graph but its very hard to get it placed right with just the mouse.  In labview 8.5 it seems like plot legends no longer respond to arrow keys.
    Can anyone confirm this or know of a way to precisely place the plot legend in labview 8.5?
    -Devin
    I got 99 problems but 8.6 ain't one.

    Ben,
    I checked the snap to grid hypothesis. Even when activated the arrow keys still allow an accurate positionning of the objects at pixel level.
    That's so nice that I changed my setup. I now have a reasonnably large spaced grid (50 pixels) with an invisible grid (contrast adjusted to zero). That should make object positionning and dimensionning much faster than before.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Moving an arrow image pointing to generated bar graph with 11 levels.

    Hello all,
    I am writing a JSP page in which i am rendering single bar graph image which has 11 levels, now depends on the value of the level which is coming from the database, i.e. 1-11, I have to point an arrow to that particular level. I need arrow image for this.
    For level value 1, it should point to exact 1 on bar graph image.
    How can I implement this in JSP?
    Thanks,
    Bhaskar

    Instead of arrows, why don't you use some color coding as shown below ?
    Message Edité par chilly charly le 09-01-2006 11:01 PM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Color coding solution.png ‏26 KB

  • Arrow indication with text on graph

    is it possible to insert a arrow in the graph point at the point where i would want it,
    like, doing a testing. if everything go smoothly, the line in the graph will be smooth(not straight line).
    if somethings goes wrong in the test, the line in the graph will have some jerks
    so i would like to be able to be able to point an arrow on the jerk with some customs texts.
    i tried using notation on the graph but it is not really what i wanted as it is like it is being fixed on the x-axis point and will only move depending on the y axis.

    Just to add some info:
    The example you are looking for is called "Programmatically Annotate a Graph.vi"
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How to print a graph in which internal table has more than 32 entries?

    hiii experts
    i am trying to make a line graph using 'gfw_pres_show' function module.
    but in report internal table has more than 32 entries
    so how can i print a graph having more than 32 entries?

    Hi ricky_lv,
    According to your description, there is main report and subreport in it, when the subreport spans across multiple pages, you want to show column headers on each page. If that is the case, we can set column headers visible while scrolling in main report.
    For detail information, please refer to the following steps:
    In design mode, click the small drop down arrow next to Column Groups and select Advanced Mode.
    Go to your Row Groups pane, click on the first static member.
    In properties grid, set FixData to True.
    Set RepeatOnNextPage to True.
    Here is a relevant thread you can reference:
    https://social.technet.microsoft.com/Forums/en-US/e1f67cec-8fa3-4c5d-86ba-28b57fc4a211/keep-header-rows-visible-while-scrolling?forum=sqlreportingservi
    The following screenshots are for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • I created a file in Photoshop CS5 (a photo) and another in Illustrator CS5 (a graph) to place in my InDesign CS5 brochure. When the Photoshop and Illustrator files are placed in InDesign, they look blurry - whether viewed in InDesign, printed, or saved as

    I created a file in Photoshop CS5 (a photo) and another in Illustrator CS5 (a graph) to place in my InDesign CS5 brochure. When the Photoshop and Illustrator files are placed in InDesign, they look blurry - whether viewed in InDesign, printed, or saved as a PDF. Can anyone give me some tips on how to fix this? Thanks!

    Ask in the program forums
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll

  • Marker shape not showing up in DVT line graph

    Hi,
    I am facing an issue where the Marker Shape is not getting displayed in DVT Line graph. In the graph there is only one series, in which diamond markers should appear at the data points.
    I am using Jdev 11.1.1.7.0.
    Below is the expected result and the result which i am actually getting. Although the data set is different, the diamonds which we see in the first graph are not appearing in the second one(my output).
    My code snippet for the line graph is as below:
    <dvt:lineGraph id="lineGraph1"
                           value="#{bindings.VarianceGraphVO1.graphModel}"
                           subType="LINE_VERT_ABS" shortDesc="Variance Graph">
              <dvt:graphTitle text="Schedule Variance"/>
              <dvt:y1Title id="y1Title1" text="Variance % Days"/>
              <dvt:o1Title id="o1Title1" text="Cemli"/>
              <dvt:background>
                <dvt:specialEffects/>
              </dvt:background>
              <dvt:graphPlotArea/>
              <dvt:seriesSet defaultLineWidth="3">
                <dvt:series markerShape="MS_DIAMOND" markerType="MT_MARKER"
                            lineWidth="2"/>
                <dvt:series/>
              </dvt:seriesSet>
              <dvt:o1Axis rendered="false"/>
              <dvt:y1Axis/>
              <dvt:legendArea automaticPlacement="AP_NEVER"/>
            </dvt:lineGraph>
    Even though the marker shape property is mentioned it is some how not reflecting in my result. Even other types of marker shapes like square, circle, up/down arrow are not working.
    Request you to help me fix this issue.
    Thanks a lot.
    Regards,
    Tejas

    Try to set seriesSet  defaultMarkerShape="MS_CIRCLE" and markerDisplayed="true" like:
    <dvt:seriesSet defaultMarkerShape="MS_CIRCLE" markerDisplayed="true">
           <dvt:series/>
    </dvt:seriesSet>

  • How do I place text on a ScatterGraph and have an arrow point to a data point on a plot?

    For example, show the minimum point with the string "MIN" and draw an arrow from the text to the minimum point.
    I am using Measurement Studio 7.0 with C#. This could be accomplished in MS 6.0 with annotations.

    The Measurement Studio 7.0 graphs (WaveformGraph and ScatterGraph) expose events that allow you to custom draw areas of the control. Most of these events appear as pairs of BeforeDraw____ and AfterDraw___. The BeforeDraw events are raised before the drawing begins and AfterDraw events are raised after the drawing has completed.
    In your case, you can attach an event handler to the AfterDrawPlotArea event of the ScatterGraph since you want to draw on top of everything that is drawn in the plot area. In the event handler:
    // Assuming e is the name of the AfterDrawEventArgs parameter.
    // Find the minimum y-value on the first plot in the Plots
    // collection of the graph.
    double[] xData = scatterGraph1.Plots[0].GetXData();
    double[] yData = scatterGraph1.Plots[0].GetYData();
    if (yData.Length > 0)
    double x = xData[0];
    double yMin = yData[0];
    for (int i = 1; i < yData.Length; ++i)
    if (yData[i] < yMin)
    x = xData[i];
    yMin = yData[i];
    // Map the data point to a point in device coordinates.
    PointF minPoint = scatterGraph1.Plots[0].MapPoint(e.Bounds, x, yMin);
    // Calculate the starting point for the line of the
    // arrow.
    PointF startingPoint = new PointF(minPoint.X + 1, minPoint.Y - 1);
    PointF endingPoint = new PointF(minPoint.X + 10, startingPoint.Y - 9);
    // Draw a vertical line representing the stick of the
    // arrow from the point.
    e.Graphics.DrawLine(Pens.White, startingPoint, endingPoint);
    PointF leftArrowEnd = new PointF(startingPoint.X, startingPoint.Y - 3);
    PointF rightArrowEnd = new PointF(startingPoint.X + 3, startingPoint.Y);
    // Draw the arrows.
    e.Graphics.DrawLine(Pens.White, startingPoint, leftArrowEnd);
    e.Graphics.DrawLine(Pens.White, startingPoint, rightArrowEnd);
    // Calculate the location of the text by centering it
    // about the arrow.
    SizeF textSize = e.Graphics.MeasureString("MIN", scatterGraph1.Font);
    PointF textLocation = new PointF(endingPoint.X + 1, endingPoint.Y - (textSize.Height / 2));
    // Draw the "MIN" string
    e.Graphics.DrawString("MIN", scatterGraph1.Font, Brushes.White, textLocation);
    Hope this helps.
    Abhishek Ghuwalewala
    Measurement Studio
    National Instruments
    Abhishek Ghuwalewala | Measurement Studio | National Instruments

  • Change colors of individual pixels on intensity graph?

    I would like to be able to change the color of a set of individual pixels within an intensity graph, to blue for example, while leaving the color table otherwise as is, for example, gray scale.  The change to blue would be based on location, not on current gray value.  I think I can accomplish this using the mask fx with picture controls, and then convert to intensity graph.  Is there a more direct way?  A good example to demonstrate this capability would be just using a 'mouse down' event on an intensity graph to change the color at the mouse location.  Any thoughts are appreciated.
    Sincerely,
    Don

    Yes, seems to work fine .
    If you have LabVIEW 8.0, there is another possibility. There is a new property that allows drawing any pictures or picture elements on your graph area. Of course you could draw individual pixels, but nothing prevents you from e.g. drawing circles, squares, odd shaped areas, arrows or event text. ... Anything you could do with a plain picture indicator. One example that ships with LabVIEW 8.0 is Envelope.vi, see image.
    Message Edited by altenbach on 06-12-2006 07:31 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    envelope.png ‏32 KB

  • Dent/dip in motion graph between keyframes

    I've noticed that ever since upgrading to AE7, I occasionally get this strange dip/dent in the line/curve between keyframes that I can't seem to get rid of.
    Commonly, it occurs like this:
    I set a keyframe at the first frame, then move the layer/item and set another keyframe at (say) frame 30. Everything's fine... Then I move to (say) frame 40, move the item, and set a keyframe. When I look at the graph, rather than the usual line going from one keyframe to the other, I have a kink/dent in the line going from keyframe 2 and 3, as if a keyframe of a different value was place in between the two keyframes.
    I've tried toggling linear/bezier interpolation, and even removed and redid each of the keyframes, yet nothing gets rid of the kink.
    Has anyone else experienced this, and does anyone know why this is happening? This has prevented me from finishing even simple animations, because there doesn't seem to be any way to fix it.
    I never had this problem with previous versions, so I'm really puzzled by what is causing this. Just 3 keyframes, and it does it... nothing else complex or unusual.

    I think what you're talking about is bounce or rebound. If you change the spatial interpolation from bezier or auto bezier to linear the bounce will go away. You can't change spatial interpolation directly in the timeline graph editor. You change it by going to Keyframe Interpolation by right clicking (or Control + click on a one button mouse mac) on your selected keyframes in the timeline window and picking Keyframe Interpolation or by using the keyboard shortcut Ctrl/Cmnd + Alt/Option + K, or by going to Animation>Keyframe Interpolation from the menu bar.
    While the graph editor will give you an indication of the position of the layer, you can only manipulate the time values in the Timeline Window. In the Composition window, you can only adjust the spatial (position, rotation) property. If you look closely at the keyframes in the Composition window before you change spatial interpolation, you'll see bezier handles on the path. They are really difficult to see on a straight path, but they are there. Changing Spatial Interpolation to linear will get rid of these handles, but you can also do it manually by holding down the G key while hovering close to the motion path and when the cursor changes to an open arrow you grab the path bezier handle and drag it to the keyframe.
    Hope this helps. It's a rather common problem that's easily solved once you realize that you're adjusting the when in the timeline and the where in the comp window.

  • Strange behavior of Grapher 2.0

    Hello everyone,
    I have a problem with vector fields in Grapher.
    My Grapher 2.0 (running on Mac OS X 10.5.2 ) shows the following strange behavior:
    When I create a new 2D-vector field in any document, it is shown correctly. All vector arrows point in the direction I expect.
    When I now save the document and open it again, first the vector field is shown correctly, but one or two seconds later the field collapses and all the vectors are aligned parallel to the x- axis. After reentering the formula describing the field, I get the correct result again.
    In the Grapher examples are two items including vector fields. One of them has the same behavior like my own documents, the other has not, but it‘s working well.
    I have already deleted the preferences (com.apple.grapher.plist) , but without any success. The program behavior is unchanged.
    Does anyone know the cause of this problem, and what I can do to avoid it?
    regards woopecker

    This is bug nr. 4/22 in my personal Grapher's bugs list. Exists in 2D & 3D.
    To restaure a saved .gcx vector field, make a minor change in its equation (e.g. cancel one letter), Return touch, repair the equation, Return touch, your vector field becomes OK !

  • Graph cursor box diamonds

    I have a graph with the cursor legend visible.  There is a box with four diamonds next to the cursor legend, and the four diamonds allow the users to move the cursors.  Since I allow cursors dragging on my graph, there is really no reason for the diamonds to appear.  Is there a way to get rid of the diamonds boxes?  I can't just move them out of the way, since the graphs are inside a tab controls, and there is no where in the tab control where I can hide the diamond boxes.  
    Kudos and Accepted as Solution are welcome!
    Solved!
    Go to Solution.

    You can move it behind the waveform control or behind the cursor legend
    Just select it by itself and use the arrow key.
    You may have to move it to the back (Ctrl-Shift-J)
    Omar

  • Graph cursor move by keyboard

    I have ComponentWorks 3.01 and VB
    is it possible to move the cursor of a graph
    BY KEYBOARD
    When i use mouse ok, but not keyboard
    Thank you

    There is no direct support for this in the graph. The thing that's tricky about this at the graph level is how would you select the cursor that you want to move if you had multiple cursors in the graph?
    Assuming that you only have one cursor, the code snippet below will move the cursor left and right by one point by pressing the left or right arrow keys. To run this example, create a new project in VB6, add a graph to the form, and then paste this code:
    Private Const NumberOfPoints = 50
    Private Const LeftArrowKeyCode = 37
    Private Const RightArrowKeyCode = 39
    Private Sub CWGraph1_KeyUp(KeyCode As Integer, Shift As Integer)
    If CWGraph1.Cursors.Count > 0 Then
    Dim cursor As CWCursor
    Set cursor = CWGraph1.Cursors.Item(1)
    If KeyCode = LeftArrowKeyCode Then
    If cursor.PointIndex > 0 Then
    cursor.PointIndex = cursor.PointIndex - 1
    End If
    ElseIf KeyCode = RightArrowKeyCode Then
    If cursor.PointIndex < NumberOfPoints - 1 Then
    cursor.PointIndex = cursor.PointIndex + 1
    End If
    End If
    End If
    End Sub
    Private Sub Form_Load()
    PlotSampleData
    InitializeGraphCursor
    End Sub
    Private Sub PlotSampleData()
    Dim data(NumberOfPoints - 1) As Double
    Dim i As Integer
    For i = 0 To NumberOfPoints - 1
    data(i) = Rnd() * 10
    Next
    CWGraph1.PlotY data
    End Sub
    Private Sub InitializeGraphCursor()
    Dim cursor As CWCursor
    Set cursor = CWGraph1.Cursors.Add
    Set cursor.Plot = CWGraph1.Plots.Item(1)
    cursor.PointIndex = CInt(NumberOfPoints / 2)
    cursor.SnapMode = cwCSnapAnchoredToPoint
    End Sub
    Hope this helps in getting you starte
    d.
    - Elton

  • Resize xy graph axis text

    Hello, I have a question regarding XY graphs:
    I want to have two XY-graphs with identical sizes aligned perfectly to have a nice comparison of separate data sets without plotting them on the same graph. However, I can't find out how to set the width of the y axis text. Because now when the width of the texts are not the same, even if the whole graph has the same area and starting point (the solid line on my pcture), the plot areas are a bit off (indicated by the arrows)
    Can I somehow set the width of these texts, so the plot areas match up? Right now I am using "Position" and "Plot area size" properties of the XY graphs to make them equally sized.
    Thanks
    Engage! using LV2012
    Solved!
    Go to Solution.

    thank you, I tried it with %10.0f, however it seems that when there is a huge discrepancy in the order of the two graphs (e.g. one from 0-10k, another being -9 to 0), it seems to be still behaving strange
    I attach my vi (without the format strings)
    Engage! using LV2012
    Attachments:
    xygraph_resize.vi ‏22 KB

  • Xy graph point tip strip

    I am using LV6.1 with Win2000. I would like to have the mouse pointer show the value of a point on an xy graph like Excel does. Is there a way to do this?

    Well not exactly like Excel but Excel cheats and limits you to 65535 samples in a plot!
    The built in functionality you should investigate is the cursor legend. That is available from
    show>>>Cursor Legend
    You can resize the cursor legend as you see fit.
    The cursors can be set to snap to a point on a plot and the cursor legend will show the X and Y values of where the cursor is positioned.
    You can drag the cursor or use the "arrows" to move teh cursor one step at a time.
    I have written custom code that will do the "mouse over thing" but that is over-kill in most cases (mouse overs can kill most processors!).
    I hope this help,
    Ben
    Ben Rayner
    Certified LabVIEW Developer
    www.DSAutomation.com
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for

  • Programmatic View Objects + View Links

    Ive constructed some programmatic view objects to grab data from 2 custom java business services (for example: Persons and Addresses). The reasons for them being custom and separate are out of my control. I need to easily represent a relationship bet

  • Gl Balance carry forward

    Dear SIr, In 2006 my GL balance was not transferred to 2007 , while making balance sheet for year 2008 there was a difference in opening balance. When looked to the matter found that the closing balance for 2006 was not transferred to 2007. So how ca

  • Is there a Forum for Sun Access Manager

    Please send me the forum link for Sun Access Manager

  • I downloaded Xcode but make,gcc don't work

    I downloaded Xcode on my 10.7 system in App store, and it says it's downloaded, but make and gcc don't work in terminal. How do re-install them?

  • MSI starcam sound distorsion

    help! when using the starcam with windows live messenger i get feedback on my microphone which distorts horrendously. the other user is also using a starcam and their sound and both images are absolutely fine. how can i solve the problem? any help ap