Aligning a zero position on a graph with several scales & Auto scale

Hello!

I hope it's a quick - but google searches and browse the forums nothing have mounted.

I have a graph with two scales - a position and a speed (which can obviously differ from each other). I want to be able to do is to have the scale auto chart/scales - but for the 0 position to stay in the center of the chart. With 0 balance point to different places, this is the graph that is very difficult to understand at a quick glance.

If you see the attached screenshot - the positions of two 0 are in different places.

Is it possible to have the scale automatically, but for zero to stay in the center of the graph for the two scales?

Many thanks in advance,

Sam

(As I know) you can't do this with auto scale.

Disable the autoscale, and then manually set the interval to be symmetric compared to zero for each scale.

Find the maximum of the absolute value of each table of marks.  Then put it away on + and - of this value.  (in the example below, I did a loose fit by multiplying by 1.1).  Since you have more than one scale of the axis, you need to browse to treat each of them at a time.  First of all, he must be told what balance Y you want to adjust, then, set the values.

Another option would be to have align the zeros, but not that the scale is symmetrical around them.  You can do that too, it takes just a little more math.  I would like to know if that's what you want.

Tags: NI Software

Similar Questions

  • bar graph with two scales of y

    Hello

    I have a graph with two scales different (one on the left side from 0 to 50, the other to the right of 0 to 1)

    Now I want to draw horizontal lines limit. I do this with the programately adjustment sliders.

    But I can only put the sliders that "belongs" to the first scale.

    Is there a solution?

    Thanks for any help

    Yves

    LV 8.6

    Hi Yves,

    You can assign each slider to a YScale. Simple right click on the cursor and choose the YScale. I think you can also do it programmatically.

  • How to draw a graph with several axis xy enter?

    Hello

    I have problem in xy graph, the graph xy can only display 1 signal the y-axis of entry (as you can see in the attachment)

    Is it possible to draw the graph xy with 2 go? Or maybe there's another type of graph as possible to do?

    Note: the x axis must be an entry too (not compared to the time / sample).

    Answers and advice are welcome.

    Best regards

    Alvin Chandra

    You ask for a second scale of Y on the graph?

    If so, right-click on the scale of the existing, select "Double ladder". This will create a second scale. You can then (if you wish), right-click on the new scale a select 'Swap sides' to put it on the other side of the chart.

    You ask about adding a second plot?

    If Yes, then you must group your arrays of X and Y points in clusters and build those in a table:

    The x-axis is always an entry on the XY graph. You just need to change the title of the axis. Way easier to do is to double-click the axis title and type the new name.

    Rob

  • Chart with multiple scales of Y

    Hello

    As you can see in the excerpt, I'm trying to plot a graph with several scales of Y. What do you think is wrong with it to get the following error.

    Possible reasons:

    LabVIEW: invalid property value.

    I wouldn't change nothing to indexing.  You already wrote this code.

    I clicked the balance you already had and clicked on "Double ladder" to create the second and third.  Once they have existed, the crux of your property has worked fine as it was.

  • several scales on Y with the time axis

    Hello. I'm new to the tiara. My first impression is that it's interesting.

    I have a few questions about the number of scales.

    So, how many scales on axis Y can Diadem support? Of course, a time axis.

    I mean, I have an excel (text) file with 6 columns, one for the time. Is it possible to have a graph with 5 scales, each scale for a signal (column)?

    The limit of the scale for Excel is 2 (two).

    Thank you.

    Hello dsasorin,

    I went ahead and made an example with 10 spindles on axis x, same color coded the axis labels. Brad was already properly mentioned that 20 is the limit, but as you can see, 10 already uses a lot of space for the axes vs real graphics, although these a little more tight, I guess I could have done.

    Not the prettiest report ever, but it should get the message. It took me less than 5 minutes to create this example once I decided what data to use. If you are a model, it will take less than 2 seconds to create this for multiple data sets which have a similar data structure...

    Let us know if you have any additional questions,

    Otmar

  • the exact position of the mouse click xy graph while he plotted graph with mouse events

    Hello

    IAM using Graph xy for multi locations

    IAM traced graphic with mouse movement and events using the example attached (draw the graph with mouse events)

    but in sub vi Values.vi scale there are two constants 66 and 30 when I change my plot (I also change the scales), then the mouse position and chart position (cursor) value are not well aligned, but when I change the constants mentioned above I get the alignment perfect between the cursor and the last point in the path.

    as I went to another parcel (with scalability again) the same alignment problem resurfaced.

    I need to replace these two constants with something dynamic

    Please help

    concerning

    Mazhar

    solution to my problem is

  • overlap of XY graph with xscale property

    Hello

    I have a problem using the xscale maximum and minimum property... when I use the nodes property that it straddles two sets of curves in the same graph: one with the scale I put and the other as if I haven´t the value of the xscale assets... What I've done wrong? I Don t have a picture of what I m to describe because I can´t manage to get a screenshot with the two graphs are overlapped... = S... I hope you can help me... What can I do to remove the graph that doesn´t have a scale...? Thanks for your replies...!

    ... Lara Mia...

    Looks like you have several plots.  Check the property pages of the graph and see if all the plots are set to use the scales that you change.  If you have several scales and you want to change all then them you can use the active scale field, the scale property.

  • How to position my tag div with top, bottom, left and right attributes?

    So I have my background image and then I want only the sides to display so I put my div tag in the Center and does it extend to the edges of the top and bottom of the page, then theres a little bit of the background image on the sides of the white div. Than perfect, but when I focus I had to remove the position attribute. Now, I can not use the up, down, left and right attributes.

    OLD CODE WITHOUT A CENTER:

    {#whitediv}

    position: absolute;

    Top: 0px;

    Width: 930px;

    height: 100%;

    z-index: 1;

    background-color: #FFF;

    }

    NEW CODE WITH CENTER POSITION BUT CANT IT:

    {#whitediv}

    position:;

    Top: 0px;

    margin: 0px auto;

    Width: 930px;

    height: 100%;

    z-index: 1;

    background-color: #FFF;

    }

    To Center elements with CSS, you need 4 basic things.

    1. A document type is valid,
    2. width in pixels, % or ems, container
    3. a margin left and right of the automobile,
    4. default positioning (static or not specified).

    For example, the following page has a centered division.

    http://ALT-Web.com/test/resizable-BG.shtml

    The background image is applied to the CSS body selector.

    / * DIV CENTERED * /.

    {#page online purchase

    Width: 70%;
    margin: 5th auto;
    Padding: 3em;
    background: rgba (0,0,0, 0.70);
    color: #FFF;
    }

    Nancy O.

  • Slide several boxes and align itself with several locations and reveal the button

    Hi I am developing a game where the user chooses from a range of boxes to the left of the screen and can drag the 3 of them separately from 3 boxes to right ther. each box can be moved anywhere, and the order is not important. Once the 3 boxes are all full, I want a new button to appear. I finished a tutorial and I have a box works perfectly, but no matter what I try, I can't work with several boxes and locations. Here is a list of the instance names of film clips more my actionscript. I have attached a link to the flash file. Any help would be really appreciated. See you soon

    LINK

    http://www.sainters.NET/flash_preview/flash_test/Flash test_v6.fla.zip

    INSTANCE NAMES

    1 box = 'circle_mc.

    Box 2 = "circle_mc2."

    the two grey boxes are called = "targetCircle."

    ACTIONSCRIPT

    function dragSetup (clip, targ) {}
    clip.onPress = function() {}
    startDrag (this);
    this.beingDragged = true;
    };

    clip.onRelease = clip.onReleaseOutside = function () {}
    stopDrag();
    this.beingDragged = false;
    If (eval (this._droptarget) == targ) {}
    this.onTarget = true;
    _root. Targ.gotoAndStop (2);
    } else {}
    this.onTarget = false;
    _root. Targ.gotoAndStop (1);
    }
    };
    the following variables can store the start position of clips
    clip.myHomeX = clip._x;
    clip.myHomeY = clip._y;
    the variables below are going to store the position of end of clips
    clip.myFinalX = targ._x;
    clip.myFinalY = targ._y;
    clip.onEnterFrame = function() {}
    all these actions basically just to say "If the mouse is in place (in other words - the clip is not moved).
    then replace the MC to its original start (with a smooth movement) point ".
    If (! this.beingDragged & &! this.onTarget) {}
    This ._x-= (this._x-this.myHomeX)/5;
    This ._y-= (this._y-this.myHomeY)/5;
    If the circle is moved on any part of the target, it slides toward the center of the target
    } else if (! this.beingDragged & & this.onTarget) {}
    This ._x-= (this._x-this.myFinalX)/5;
    This ._y-= (this._y-this.myFinalY)/5;
    }
    };
    }

    dragSetup (circle_mc, targetCircle);

    You can probably do all the things you want to do.  I will make them for you well.  Trying to figure out how what I've provided works and then try to reason things for the changes you want to perform.

  • problem with several graph XY axes

    Hallo,

    I'm tracing different variables in the same plot with several axes. I have the following problem (see attachment)

    the y axis secondary on the right side of the plot has a large area of him and one of the other secondary axis falls right above others. I tried it in the two labview 8.2 and 8.5 with the same results.

    any ideas?

    Thank you in advance,

    Thodoros

    Try the following movements:

    Right-click-> popup menu-> advanced-> reset scale layout

  • chart with 2 scales of y

    Hello, I use the Labview 8.2.1 and I would ask for a solution.

    I use a graph of waveform with 1 x-scale and 2 scales of y. The scale is a rest and the other is on the right side of the chart.

    I created 2 plots and I assigned corresponding scales.

    I want to draw 2 XY tables one after the other with different scales there. Specifically, there must be a plot that ends at a value of the x-axis and from there the other plot should continue to use the other ladder there.

    For this I tried a 'sequence Structure', in the first image, I create the first path using 3 'nodes of property': Plot.YScaleIndex, ActivePlot & ActiveYScale and I give zero for them in order to use the first scale y.

    In the second frame, the second conspiracy giving the integer 1 I have create the above 'nodes of property', but the first plot disappears and the second plot does not use the second ladder there but the first.

    This is the frame1:

    It's the frame2:

    What can I do?

    Thank you in advance.

    What happens in your sequence structure, is the second celebrity replaces the data of the first case.

    You must create your two data sets and build an array of those, fed this in a loop for, then by all data, select the right:

    -field (ActPlot)

    -Y-scale (Plot.ScaleIdx)

    -Y-scale to edit (ActYscl)

    We then put the max and min, be aware that the second ladder must be created before running this code.

    Another option would be to auto scale just scales-Y.

    Tone

  • How can I control the spacing on a page with several media files?

    I'm trying to display a page with several Shockway files, and I can't have their space on the page - they all end up in a field, crushing the titles.

    I tried to put them in a table, tried several ways of spacing (forcing of blank lines, etc.), but nothing seems to make a difference. Here's what it looks like:

    space-error.jpg

    Here is the code I use:

    <!-beginning of the list of audio files->

    < table width = "370" border = "1" cellspacing = "2" cellpadding = "2" >
    < b >
    < td > < h6 > The incarnate Orientation of way
    < / h6 > < table >
    < /tr >
    < b >
    < td > < div id = "html0" style = "left: 120;" top: 600; Width: 503; height: 132, position: absolute; z index: 4082; "margin: 1px" >

    < p >
    < script type = "text/javascript" >
    AC_FL_RunContent ('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4, 0,0, 0', 'widt h' ', ' 230 ', ' height', ' 130', 'align', 'medium', 'src', 'mp3ss126d', 'quality', 'best', 'wmode', 'trans parent', 'bgcolor', ' #000000 ', 'loop', 'true', "pluginspage",'http://www.macromedia.com/shockwa ve/download/index.cgi? ") P1_Prod_Version = ShockwaveFlash film ',' mp3ss126d ',''); End AC code
    < /script > < noscript > < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase ="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4, 0,0,0" width = "230" height = "130" align = "middle" >
    < param name = "movie" value = "mp3ss126d.swf" / > "
    < param name = "quality" value = "best" / >
    < param name = 'wmode' value = 'transparent' / >
    < param name = "bgcolor" value = "#000000" / >
    < param name = "loop" value = "true" / >
    < embed src = "mp3ss126d.swf" quality = "best" wmode = "transparent" bgcolor = "#000000" loop = "true" width = "230" height = "130" type = "application/x-shockwave-flash" pluginspage = "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" align = "middle" > < / embed > ""
    < / object > < / noscript >
    < /p >
    < / div > < table >
    < /tr > < / table >

    < table width = "370" border = "1" cellspacing = "2" cellpadding = "2" >
    < b >
    < td > < h6 > The Way embodied - workshop n ° 2 < / h6 > < table >
    < /tr >
    < b >
    < td > < div id = "html2" style = "left: 120;" top: 750; width: 510; height: 132, position: absolute; z index: 4083; "margin: 1px" >

    < p >
    < script type = "text/javascript" >
    AC_FL_RunContent ('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4, 0,0, 0', 'widt h' ', ' 230 ', ' height', ' 130', 'align', 'medium', 'src', 'mp3ss127d', 'quality', 'best', 'wmode', 'trans parent', 'bgcolor', ' #000000 ', 'loop', 'true', "pluginspage",'http://www.macromedia.com/shockwa ve/download/index.cgi? ") P1_Prod_Version = ShockwaveFlash film ',' mp3ss127d ',''); End AC code
    < /script > < noscript > < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase ="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4, 0,0,0" width = "230" height = "130" align = "middle" >
    < param name = "movie" value = "mp3ss127d.swf" / > "
    < param name = "quality" value = "best" / >
    < param name = 'wmode' value = 'transparent' / >
    < param name = "bgcolor" value = "#000000" / >
    < param name = "loop" value = "true" / >
    < embed src = "mp3ss127d.swf" quality = "best" wmode = "transparent" bgcolor = "#000000" loop = "true" width = "230" height = "130" type = "application/x-shockwave-flash" pluginspage = "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" align = "absmiddle" > < / embed > ""
    < / object > < / noscript >
    < /p >
    < / div > < table >
    < /tr > < / table >

    < table width = "370" border = "1" cellspacing = "2" cellpadding = "2" >
    < b >
    < td > < h6 > The Way embodied - workshop n ° 3 < / h6 > < table >
    < /tr >
    < b >
    < td > < div id = "html3" style = "left: 120;" top: 900; width: 515; height: 132, position: absolute; z index: 4084; "margin: 1px" >
    < p >
    < script type = "text/javascript" >
    AC_FL_RunContent ('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4, 0,0, 0', 'widt h' ', ' 230 ', ' height', ' 130', 'align', 'medium', 'src', 'mp3ss128d', 'quality', 'best', 'wmode', 'trans parent', 'bgcolor', ' #000000 ', 'loop', 'true', "pluginspage",'http://www.macromedia.com/shockwa ve/download/index.cgi? ") P1_Prod_Version = ShockwaveFlash film ',' mp3ss128d ',''); End AC code
    < /script > < noscript > < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase ="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4, 0,0,0" width = "230" height = "130" align = "middle" >
    < param name = "movie" value = "mp3ss128d.swf" / > "
    < param name = "quality" value = "best" / >
    < param name = 'wmode' value = 'transparent' / >
    < param name = "bgcolor" value = "#000000" / >
    < param name = "loop" value = "true" / >
    < embed src = "mp3ss128d.swf" quality = "best" wmode = "transparent" bgcolor = "#000000" loop = "true" width = "230" height = "130" type = "application/x-shockwave-flash" pluginspage = "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" align = "absmiddle" > ""
    < / embed >
    < / object > < / noscript >
    < /p >
    < / div >
    < table >
    < /tr > < / table >

    < table width = "370" border = "1" cellspacing = "2" cellpadding = "2" >
    < b >
    < td > < h6 > The Way embodied - workshop n ° 4 < / h6 > < table >
    < /tr >
    < b >
    < td > < div id = 'html4' style = "left: 120;" top: 1050; width: 509; height: 132, position: absolute; z index: 4085; "margin: 1px" >
    < p >
    < script type = "text/javascript" >
    AC_FL_RunContent ('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4, 0,0, 0', 'widt h' ', ' 230 ', ' height', ' 130', 'align', 'medium', 'src', 'mp3ss129d', 'quality', 'best', 'wmode', 'trans parent', 'bgcolor', ' #000000 ', 'loop', 'true', "pluginspage",'http://www.macromedia.com/shockwa ve/download/index.cgi? ") P1_Prod_Version = ShockwaveFlash film ',' mp3ss129d ',''); End AC code
    < /script > < noscript > < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase ="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4, 0,0,0" width = "230" height = "130" align = "middle" >
    < param name = "movie" value = "mp3ss129d.swf" / > "
    < param name = "quality" value = "best" / >
    < param name = 'wmode' value = 'transparent' / >
    < param name = "bgcolor" value = "#000000" / >
    < param name = "loop" value = "true" / >
    < embed src = "mp3ss129d.swf" quality = "best" wmode = "transparent" bgcolor = "#000000" loop = "true" width = "230" height = "130" type = "application/x-shockwave-flash" pluginspage = "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" align = "absmiddle" > ""
    < / embed >
    < / object > < / noscript >

    < /p > < / div >
    < table >
    < /tr >

    < /table >

    Ugh,.

    the file:/// access path points to the files on your local hard drive that no one can see it but you!

    Hans-Günter

  • Functions defined by the user with several parameters

    I set features three following user using "Define."

    UF1 takes a single patameter;

    UF2 takes two parameters;

    and UFX takes two parameters - with the second is 'X' in the definition.

    Œuvres F1.  F2 is the EVAL of F1 version and it works too.  User functions only seem to work fine.

    F3, a function of two user settings, produces a graph of NaN.

    F4 is the EVAL of F3 version.  Note that 'B 'is not replaced by 1'.  Also produces a NaN chart.

    F5 produces a graph of NaN.

    F6 is EVAL of F5.  The 'X' is not replaced (even with the ' B' above), and even if it looks like 'X * X', it also produces a graph of NaN.

    Is it possible to get defined by the user, with several parameters, features work by tracing the curve?

    Hi!, Fortin:

    If you download and install the ultimate Firmware with the version of the software: 2015 6 17 (8151), with the number of Version: 1.1.2 - 11, you can trace your examples of definition of the function, with curves and values, without NaN.

  • Graphic with several plots, a cursor jumps by programming of intrigue to tlot

    Hello

    I use MS 2013 with Vstudio 2010

    I have a graph with 3 plots, and a slider that at design time is attached to trace 0.

    I need to attach this cursor on plots of 1 or 2, according to the index of my choice.

    I guess that a solution would be to remove the existing gursor and re - create a new, attached to a different field.

    But can it be done using the existing slider?  I couldn't find a way to do it.

    I need something like:

    ' private void comboBoxCursor_SelectedIndexChanged (object sender, EventArgs e)
    {
    var selected_plot = comboBoxCursor.SelectedIndex;
    var cur_indx = waveformGraphScope.Cursors.IndexOf (xyCursorScope);
    waveformGraphScope.Cursors.?. Plot [selected_plot]
    }

    Thank you

    Igor

    In fact, it's simple:

    If "selected_ch" is a parcel number, then he focus cursor to a particular field:

    waveformGraph.Cursors [0]. Plot = waveformGraph.Plots [selected_ch];

    Igor

  • Slide with several digital poster Down filter event Bug button?

    A key event filter on a slide with several digital screens down does not work as expected when not waived. If you for example tab of this slide with two digital screens digital display, the cursor remains on his position, rather than get KeyFocus to the next control. Same behavior at fault if you want to move the cursor on the left/right keyboard, nothing happens. Anyone an idea why?

    A simulation of that VI is attached. All other controls, a Slide with a digital display or a standard digital control, the key Down event filter behaves as expected... I tested in versions 8.5.1 LV (attachment), LV2012SP1 and LV2013.

    A teammate now found a solution or workaround. We do not know if this is the way it should be, if yes, then it's a bit hidden, but it works!

    It seems that the cursor needs to know on what digital display the FocusObj is when you use the event notifier KeyDown. Then, when to get the reference of the digital display active and the wiring of this reference to the terminal FocusObj filter event everything works as expected, numbers of tabs, typed, cursor etc and have to filter and notify events structure to the event.

    A vi and a printscreen are attached.

    The question is probably due to the specialty of slides and the class NumericWithScale in general, as its digital displays are a little under References and during the implementation of the features of event KeyDown for the class NumericWithScale filter, LV simply does not know on which side of the main action control part must be executed.

    Or someone has a better solution and explanation?

Maybe you are looking for

  • can I put my xp home edition with my drive of w7 restoration?

    pls help I have Acer Aspire 5000 windows xp home edition dat needs, the upgrade will be my recovery disc of my work from home premium to windows pc 7? thxs

  • 10 for DW 1705 Windows drivers

    My bluetooth has not worked since I did a clean install of Windows 7 a year ago. I was hoping it would work after update to Win 10.  WiFi works with Windows update, version 3.0.2.182 for WiFi and 10.0.1.1 for Bluetooth drivers.  When I try to install

  • On-screen keyboard does not work in win7 64 bit. Help, please!

    A pop up opens after clicking on the screen keyboard on. Here is the information that appears on the window pop up. c:\windows\system32\osk.exe... A referral was returned by the server. It seemed no longer works after update of windows of yesterday.

  • Media player 12 playlist sorting

    I hope I'm missing something. I create a playlist with tracks in a certain order. I save it. all right. then I accidentally hit one of the column headers (like "title"), which sorts the traces of this column. from there, is there an easy way to get t

  • Who should I declare fake Adobe customer support?

    I just signed up with Adobe and posted a question for the first time, there are only and I have already received a bogus email from someone claiming to be personal Adobe, trying to get my Skype ID and phone number.  Who should I report this?  Thank y