Multiple y axes overlap

I have a graph with multiple y axes. I programmatically turn on and off some of the y axes as and when I need them, appropriate to the curves I'm plotting.
When I created the graph, I placed half the y axes to the left of the plot, and the remainder to the right. However, when I use the yScale.Visible property to show/hide the axes, I get something like this:
What's happening!? Why are my y-axes overlapped? (please ignore the white box in the plot, that's just me covering up some annotation text)
Message Edited by Thoric on 07-16-2008 04:05 PM
Thoric (CLA, CLED, CTD and LabVIEW Champion)
Attachments:
multiyaxisgraph.jpg ‏44 KB

My chart has four axes on the left and four on the right, so you can understand why I want to hide those that aren't used as it gets very busy on there sometimes ! Unfortunately, none can be re-used as there are rare occasions when all eight are needed!
I've managed to re-create the plot, and also create a hard-coded list defining which side of the plot (left or right) each y-axis is meant to reside. Thus, if LV 'forgets' which side of the plot to draw the y axis, it doesn't matter because I'm now calculating the actual scale position.left property and setting it myself.
Took a bit of coding up, but seems to work nicely now!
Thanks for the advice Paul. It's good to know people are out there willing to help!
(I'd rate your answers but I don't have enough posts to have that privilege yet. sorry)
Thoric (CLA, CLED, CTD and LabVIEW Champion)

Similar Messages

  • Creating a report with multiple Y-axes on one graph

    I currently have a script that will create a report with either 1, 2, or 3 graphs and has the ability to have four graphs per plot.  I would like to add functionality to this script by making the Y-axis on the graphs have multiple Y-axes.  How can I programmatically create a graph with multiple Y-axes?

    To create an new axis system use the command GraphObjNew, eg:
    Call GraphObjNew("2D-Axis","2DAxis1")
    Call GraphObjOpen("2DAxis1")        
      D2AxisBackColor = "blue"  
    Call GraphObjClose("2DAxis1") 
    Call PicUpdate
    If you have DIAdem Version 10 you can also create a new y-axis using GraphObjYAxisNew. This command is not available in versions 9.1:
    Call GraphObjOpen("2DAxis1")
    AxisNo = GraphObjYAxisNew("left")
    If AxisNo>0 Then
      Call GraphObjOpen(D2AxisYObj(AxisNo))
      D2AXISYTXT ="My new axis"
      D2AXISYTXTFONT ="Arial"
      D2AXISYTXTCOLOR ="red"
      Call GraphObjClose(D2AxisYObj(AxisNo))
    End If
    Call GraphObjClose("2DAxis1")
    Winfried
    Message Edited by winner on 03-23-2006 03:48 PM

  • How to set property nodes for each of the multiple y-axes?

    In Labview 6i, I have set up multiple y-axes on an xy graph. I want to change certain properties of each of the 2 y-axes independently. I believe I can do this using "property node".
    However, after I have created a property node for the xy graph, I realised that there is only 1 y-axis selectable from the list of properties. How can I set the property of the other y-axis then?
    Thanks for the help!

    I believe there is a property called "active graph"... this allows you to
    select the active graph to apply the property changes to...
    Later...
    meng118230 wrote in message
    news:[email protected]..
    > In Labview 6i, I have set up multiple y-axes on an xy graph. I want to
    > change certain properties of each of the 2 y-axes independently. I
    > believe I can do this using "property node".
    >
    > However, after I have created a property node for the xy graph, I
    > realised that there is only 1 y-axis selectable from the list of
    > properties. How can I set the property of the other y-axis then?
    >
    > Thanks for the help!

  • Multiple X axes in DIAdem 9.1

    Is it possible to have multiple X-axis scales for a 2-D plot in DIAdem 9.1? 
    I have no problem with multiple y axes but I would also like multiple x axes as well.
    Thanks,
    Tom

    Hi Tom,
    Multiple X axes are not supported anywhere in DIAdem 2012, so that's a dead stop.  If you want to overlay multiple curves in VIEW that have different X values, you will need to rescale those X values.  If you're plotting waveforms, this is as easy as multi-selecting the set of N channels you want to change in the Data Portal and editing the waveform start offset property, which will make the property value change you entered once to all N channels selected.  If you have N Y channels that share an X channel, then you just need to rescale the one X channel once with the Linear Scaling function in ANALYSIS.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Multiple compositions as overlapping divs

    Hello,
    My first question on this forum and I could really use some help with this. Have been stuck on finding a solution, for well over a week.
    I am trying to overlap multiple compositions in an Adobe Edge Animate project (I am using Edge Animate CC 2014.1.1).
    Basically I am trying to achieve the effect shown in the image below (where the blue stage is my main stage - first composition being loaded, the red is the second and the green is the third):
    I added a link to my Edge Animate project files below (I modified the main.html file to accomodate three compositions).
    In raw HTML, this can be very easily achieved by using a <div> that is has "position:relative" (it would be the blue area) and nesting two divs with "position:absolute" inside it (the red and the green). My problem is getting the same effect in Edge and loading a composition in each of the two overlapping divs.
    In my Edge project, main file, I have three stage divs:
    <div id="StageA" class="EDGE-222475028"></div>
    <div id="StageB" class="EDGE-222542206"></div>
    <div id="StageC" class="EDGE-222622471"></div>
    StageA would be the main container div (blue), StageB the first nested one (red) and StageC the third (green) positioned at the right margin of the main container.
    I was not able to apply the same overlapping concept to Edge stage divs, as in my raw HTML example.
    How can I achieve this?
    Edge project files: https://www.dropbox.com/s/qj8jbrrrnbleozp/overlapping_multiple_compositions.zip?dl=0
    Thank you,
    Chris

    Can you share the actual project files, so that we can help you out?
    You may PM me the uploaded zipped file link, if you don't wish to share your project publicly here.

  • Multiple Y Axes Reference

    How do I reference a plot to the second Y axis?
    Using the example Multiple Y Axis....
    I want Plot 2 to reference the seconds Y axis, however, it always references the first Y axis
    void CMultipleYAxisDlg:nGenerateData()
    int i;
    CNiReal64Vector RedData(100);
    CNiReal64Vector MagentaData(100);
    CNiReal64Vector WhiteData(100);
    for (i = 0; i < 100; i++)
    MagentaData[i] = -25;
    WhiteData[i] = 125; // always references 1st Y axis on right side
    RedData[i] = 700;
    m_Graph.GetPlots().Item(1).PlotY(MagentaData,0,1);
    m_Graph.GetPlots().Item(2).PlotY(WhiteData,0,1);
    m_Graph.GetPlots().Item(3).PlotY(RedData,0,1);

    The CNiPlot class has a YAxis property whose type is CNiAxis. You should set this property to the axis that you want associated with the plot. For example, assuming your graph has at least two plots and at least two y axes, you could do this:
    m_Graph.Plots.Item(2).YAxis = m_graph.Axes.Item(3);
    - Elton

  • Multiple y axes overlay eachother

    I'm working on a program which will allow users to plot up to 5 different channels with indepdnant y axes. I make them visible / invisible depending on how many channels are being plotted.  Unfortunately, the axes start to overlap eachother.  I decided to programmatically fix this
    The code works just fine initially (for preventing the axes from overlaying eachother), but quickly mess up once you start making them visible / invisible.
    Any thoughts / solutions?
    Solved!
    Go to Solution.

    BowenM wrote:
    I'm working on a program which will allow users to plot up to 5 different channels with indepdnant y axes. I make them visible / invisible depending on how many channels are being plotted.  Unfortunately, the axes start to overlap eachother.  I decided to programmatically fix this
     [code snippet not copied here]
    The code works just fine initially (for preventing the axes from overlaying eachother), but quickly mess up once you start making them visible / invisible.
    Any thoughts / solutions?
    Well, a couple of things (okay, three) come to mind. First, you don't need to use two different property nodes inside your for loop if you are referring to the same axis - just use one property node and pull down a second property. That way you won't have a chance of mixing things up.
    Second, you could use a for loop set to only include the axes/plots you want visible with autoscaling N to an array of your visible plots, then your axes would all be spaced identically.
    Third, you could set the plot position and size to move over and shorten as more y axes are made visible, so you take up the same amount of screen real estate for any case.
    Other customizations are possible, but these should get you where you say you want to be.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • LR4.2 printing multiple cell with overlap -  What you see IS NOT what you get ?

    Hi,
    I am using LR4.2 and PS-elements. Epson 3800 for printing
    PS - never an isue.
    user is admin ..
    I get a strange phenomena in LR4.2 when doing multiple cells on same print - with overlapping: At time what you see is not what's going to be printed! at times you will get the printout with some of the cells mising photos (even printing them to file will result in the same way..). Post the printing (ouch wasting of paper...) if I select the cell, I can "send it to the front, ad now it will be printed ok/.
    Please advice - did you see this before >?
    Ami

    I have never tried printing overlapping photos.  Can you describe how to a simple photo layout that demonstrates the problem so others can try?  Or at least include a screen-capture of the layout that is showing the issue.  It may have something to do with your particular printer driver even if you print to a JPG, but if others, with other printers have the same issue, then it is likely something within LR, only.

  • Multiple Y Axes

    Hi
    I am using Flex2 and i am developing line charts,DateTime
    with X-Axis and multiple series on Y-Axis, how can i develope
    multiple(more than 2) Y-Axes with different ranges

    Flex 3 supports multiple (more than 2) axes, where we can
    specify horizontal and vertical axis for each series. But Flex 2
    supports a maximum of 2 axes. Second axis can be added using the
    properties secondHorizontalAxis, secondVerticalAxis,
    secondDataProvider and secondSeries

  • Multiple Accordion Panel Overlapping Each Other

    Hi,
    I have a few accordion panel in my page. So when I expand one, it covers the one below it. Is there a way to make it pushes the panel below further down, instead of covering it? I hope im making sense, but you can also visit this link to see what I'm talking about
    http://billbensley.businesscatalyst.com/untitled-5.html
    Thanks in advance for your help
    Anh Nguyen

    Hi,
    I'm looking create multiple box of that, not just 1 box. If you can have a look at this link, ull see that Thailand cover INDIA, however, INDIA doesnt cover INDONESIA, but push it down instead. I'm not sure why it doesnt work for the top one
    http://billbensley.businesscatalyst.com/photo-library.html
    hopefully you can help me
    thanks

  • Is it possible to make multiple subclips with overlap markers at one go ?

    I know to make subclips, we use MODIFY > MAKE SUBCLIPS but how do I do the following:
    Let's say I have captured some 20 mins of clips from my video camera & named this clip as MainClip in the the browser.
    When I double click MainClip in the browser, it will appear in the Viewer.
    _QUESTION 1:_
    How do I get 4 subclips from this with the following requirement:
    Subclip1: 2nd min to 3rd min
    Subclip2: 5th min to 6th min
    Subclip3: 8th min to 9th min
    Subclip4: 10th min to 12th min.
    How do I place In-point at 2nd, 5th, 8th & 10th min and Out-Point at 3rd, 6th, 9th and 12th min ? How do I do it in one-go ?
    _QUESTION 2:_
    How do I get 4 subclips if the segments I want are overlap, for example if I want to create subclips having the following requirements:
    Subclip1: 2nd min to 3rd min
    Subclip2: 2.5th min to 6th min
    Subclip3: 5th min to 9th min
    Subclip4: 8th min to 12th min.
    NB: the In-point for subclip2 are now overlap and is in between the In-point and Out-Point of subclip1 (ie 2.5th min is in bewteen 2nd and 3rd min)
    Thanks

    Tom Wolsky wrote:
    What format are you working in DV? You can use DV Start/Stop Detect.
    http://www.fcpbook.com/Video5.html
    Otherwise you have to mark In and Out points for the first section, press Cmd-U, mark new I/O, and press Cmd-U again.
    Thanks Tom.
    I am working on PAL Standard Definition.
    But I think maybe you misunderstood my question. Or maybe I misunderstood you answer.
    I can capture the clip from my video camera into the browser without problem. My problem is after I captured them. After I captured them, I double click in the bowser & it will appear in Viewer. So, I use the method "press Cmd-U, mark new I/O, and press Cmd-U again" in the Viewer ?
    Can I know what is the menu equivalent of Cmd-U ?
    Question 2: You cannot use the marker technique described above, you have to use In and Out points. You can't do this in one step.
    If I understand you correctly, what you are trying to say is the "press Cmd-U, mark new I/O, and press Cmd-U again" method will work even if the the clip overlap bcos everytime a Cmd-U is being pressed, a new set of I/O is being activated ?
    Thanks

  • How do I graph multiple bit values on one time axis?

    I want to graph multiple bit values, all of which will change back and forth from 0 to 1, on the same time axis, but I don't want any visual overlap between the different bit value traces.  Now I could do this by graphing bit one as either 0 or 1, bit 2 as 2 or 3, bit 3 as 4 or 5, etc., but I would really rather have multiple Y axes showing 0 to 1, stacked vertically on the same time (X) axis.
    You could visualize this as multiple pens on a strip chart continuously recording different values.  Each pen has its own vertical area in which it writes, but all pens could be writing data from the same numerical range.
    Hmmm...  I think my description might be roughly as clear as mud, but if anyone out there can figure out what I am asking and has potential solutions, please let me know.
    Thanks!

    Thanks.  I will look at that VI, but I think I have already seen it.  My problem is that I have CAN data coming in for an hour or so, but the time interval between receiving specific CAN arbitration IDs varies, so I want to plot the X axis against specific, varying time values, not a standard dT.  I'm not sure I can do this on a digital graph, but I haven't given up hope yet.
    BTW, I am receiving 8-byte CAN packages.  Some of the bytes represent actual values, but I need to break others up into individual bit values to see error and status flag settings.  Once I break the bytes into bits, I convert from analog values to digital values.

  • Header and footer overlap on scrolled pages on certain websites

    When scrolling down on certain websites multiple pages appear overlapping on the header and footer, eg Asos

    The version is 5.6.0 .
    I think that is quite outdated .
    But the error for the start body tag is coming in the xmlp desktop and i have the latest BI publisher.

  • Chart Multiple Axis

    I have seen the flex's chart documentation about multiple
    axes.
    In this documentation the example speak about single
    horizontal axis and multiple vertical axes.
    The question is: may i have multiple horizontal axis? Has it
    sense?
    Thank you

    Sorry, i give response by my self.. i can use
    labelfunction...

  • Overlapping listeners in layers, help

    Hi,
    I have one more question.
    I am using a JLayeredPane, and in there i have multiple panels in different layers.
    Each panel has it's own mouse motion listener, and the parent panel containing layered pane also has mouse listeners.
    depending on which panel is on top, i want different things to happen.
    I noticed that when the parent panel has its mouse motion listener working, the listeners of the panel who is at the topmost layer don't work.
    how do you control multiple listeners of overlapping layers?

    The top layer (parent's glass pane?) will always grab the click. Java makes a good guess, like using a Button if it's added to a Panel but if your needs are more complex, you should take over and not depend on a layering scheme.
    Set some sort of flag when you change panels. Then have your code call an appropriate listener based on the flag:
    final static int
        THIS_PANEL = 1,
        THAT_PANEL = 2,
    int activePanel = 0;
    // after setting thisPanel
    activePanel = THIS_PANEL;
    // in main mouse listener
    // MouseEvent is "me"
    switch activePanel {
      case THIS_PANEL:
        thisListener( me );
        break;
      case THAT_PANEL:
        thatListener( me );
        break;
      default: // whatever
    } // end switch

Maybe you are looking for

  • Unable to select the value from a list item in forms 6i

    Hi , I'am using forms 6i. I have created a list item in my form as below. Item_type = list item list style - popup list elements in list - A, B, C,D When I open the form all the above values are displayed for the list item. But I'am unable to select

  • Unable to enter text in text area box

    Hi all, I have an issue. unable to enter comments in the text area in the client side application while i can able to enter from my system. But when they login and logout they can able to enter. When they again comeback to the page they could not. It

  • Vendor consignment

    Hi All, I have one issue that, I did 411 K movt type in MB1B then I checked the acc documents for that material document, there I could see only two TE keys triggered BSX and AKO. Vendor acc KON  not triggered. Even I checked the Inforecord and sourc

  • Ageing stock - analysis per warehouse

    Hi there, could you pls let me know whether there is any transaction that gives stock ageing analysis not for plant, but only for specified warehouse? thanks a lot for help. I

  • GL Account Postings for Goods movement

    Hi, I have a requirement to setup a account determination for goods movement for charity. What happens is that at times goods are given out directly for charitable purposes. This is done using a direct goods movement using 562. I need to know what ki