XYGraph secondary axis

Problem very simply: I have some curves on a single XYGraph. How can I make the axis y for one of the curves a secondary axis?

See the attached VI.

I give it a try, but I get error of invalid property value. My unerstanding is Plot.YScaleIdx = 0 for main y axis and 1 for the secondary value axis. Is it not the case?

You need to duplicate the scale until you can write to her.

I did it manually, then your code worked without error.  I don't know if there is a programmatic way to reproduce the scale.

EDIT: According to this http://forums.ni.com/t5/LabVIEW/how-to-show-duplicate-scale-programatically-on-chart-indicator/m-p/1... you cannot programmatically create balance.

Tags: NI Software

Similar Questions

  • How to add a secondary axis in a chart excel with labwindowsCVI?

    Hello
    I am currently working on LabWindowsCVI and I treat my data in excel files. I use ExcelReport and Excel2000 instruments to build my data tables and my chart. Track, I use this function:
    ExcelRpt_ChartWizard (chartsheetHandle, ExcelWorksheetHandle, "A1: C619" ExRConst_XYScatterSmoothNoMarkers 0, ExRConst_Columns, 1, 1, 1, ' consumer mobile platform ","TIME (sec)"," current / voltage (in V & A) ", NULL);
     
    In this configuration, column A is X axis and B & C (Y axis) my blood given respective & current.
    My graphics are drawn correctly, but I find a problem, 2 curves are on the main axis and I want a trace on the main axis and the other on the secondary axis. I can not to display a secondary axis.
    This action is possible with LabwindowsCVI function and if so, can you tell me which work?
    Thank you in advance,
    Nicolas

    Thanks a lot dcl9000.

    I wrote these functions after that to trace my chart and the secondary axis appears .  It was necessary to create a second graphic handle to separate both my curve. Thanks to you, now I know a new function of Excel and I think that I will need in the future.

    Kind regards

    Nicolas

  • Secondary axis on the WPF chart

    Hello

    I'm tracing a secondary value axis on my WPF chart. I have a graphic linked to a table of AnalogWaveform of objects that I change during execution. This table can be different sizes depending on the user's selection, however assume that there are two types of data to the chart.

    I would like to match a data type of my main axis and the other guy to my axis is secondary. For example, I have four AnalogWaveform opposes the plot, two of whom are in Hz (primary) and the other two in Volts (secondary).

    According to the documentation, I need an additional of element under my definition of . What I have is:

             

























    This adds a second value axis to the left of my main axis. What I need is for this axis which will be located to the right of my chart and somehow to draw each AnalogWaveform on the right y-axis.

    I build my locations in the code as follows:


    _graph. Plots.Clear ();

    RawData is my AnalogWaveform[], built in advance based on a response from the server
    foreach (AnalogWaveform waveform in RawData)
    {
    If (waveform! = null)
    {
    field = new plot (waveform. ChannelName);
    parcel of land. DataContext = waveform;

    plots. Add (Plot); plots is a simple list
    }
    }

    _graph. Plots.AddRange (studs); Add locations to graph

    _legend. ItemsSource = plots. Add locations to the legend

    Any help would be appreciated on how to do it.

    Thanks in advance.

    To position your second Y axis across the graph, set the Location property on the axis of Far .

    To associate a plot to a default axis, set the VerticalScale property on the ground in the axis value is appropriate.

  • Programmatically set the data on the secondary value axis

    I want to use the nodes property and another code LV to:

    1. create a secondary value axis

    2. take 1 3 tables (t, (t) f1, f2 (t)) and use of the table t for x a value, with f1 (t) on one axis as values y and f2 (t) on a secondary axis for several values of y.

    It was pretty easy with just a curve (bundle just two bays of 1 d and wire of the cluster of a graph), but the addition of this axis Y high school is difficult. Any help is appreciated!

    You can not dynamically add and remove axes. They can be added manually.

    It looks like you want a xy graph, which can support a number of data structures. The one I like best is a cluster containing a table of x vales and an array of the values there. If you want several locations on the graph is here, just feed it with a table of these clusters.

    Mike...

  • 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

  • Graph XY - linear scale data overlay / Journal

    Hi people,

    I'm in LabVIEW 2012 and I have a (x, y) dataset I want to draw on a set of dimensions. I also want to superimpose a second horizontal axis with the same data, but using a set of units on the scale (xStar). You can watch the enclosed screws to see how x transforms xStar, but it's basically the quadratic formula with an exponential lift. The x values are plotted on a linear scale, but because of this exponential transformation xStar-values are reported on a logarithmic scale (see image).

    I want these two studs--(x,y) and (xStar, y)-to overlap exactly what they are actually a single parcel. That, in view of all (x, y) point, I can quickly raise the value of xStar glancing at the scale of the secondary axis. x and xStar are two useful physical parameters, then it is useful to be able to read one or the other on the chart depending on the situation.

    Any suggestions on how to get these two plots overlap? Currently, I use the min/max-x values to generate appropriate min/max values xStar, which makes the plots suitable for endpoints (but not between the two). I also need to specify somehow scale increments? If so, what is a good method to achieve this?

    Thank you!

    The non-linear relationship (no log) is between x and xStar, you chose a logarithmic scale grid, so I guess that 'linear' scale must be adjusted.

    Since the x-> xStar relatiion is given and fixed to a scale, you can create an image on the chart with the tools of photography.

    read the newspaper scale min and max, read the pixel length x in the plot area and when the scale is changed (event) recalculate and pull scale "lin".

    -draw minor ticks, draw the main graduations and numbers.

    I would just use a scale, add a cursor block him to the plot and use changing the same cursor (read pointindex, get x, y data) to view xStar, x and y

    I posted a vi accidentally in this old thread

    http://forums.NI.com/T5/LabVIEW/how-do-you-create-a-gauge-with-a-non-linear-non-log-scale/m-p/331073...

  • SkinnableContainer constraints

    Hello

    If I understand the constraints, should be used to resize a container to its parent by using the constraints of Left and Right.

    I have create a sample app with the following structure

    container

    headerContainer

    Rect (just to make the container vissible)

    label

    columnContainer

    Rect (just to make the container vissible)

    Button

    the column container contains a button with a great text.

    I want the header to have the same length as the column so that I set the left and right at 0.

    The problem is that the header is not stretching to the size of the column.

    When I put the wdth 100%, it stretches.

    Setting the width to 100% should be the same as the definition of left and right right 0?

    image with only the left and the right:

    testWithLeftAndRight.png

    image whose width 100%

    testWithWidth.png

    Constraints are not met within a VerticalLayout/HorizontalLayout.

    There is a feature here request: http://bugs.adobe.com/jira/browse/SDK-23823

    If you want that supported constraints along the secondary axis of a VerticalLayout/HorizontalLayout please vote and/or leave a comment with your use case.

  • How to copy an a refnum xygraph is - a?

    Normally it's simple enough to get my own.

    Purpose:

    Col Refnum XY graph for Subvi-->

    Purpose of Subvi: PRINT XYGRAPH to file/pdf/bmp, manipulate the xy graph more (back ground color change to leaving for printing, leaving graph xy for printing size, move the legend), perform simple analyses on the data (rms, pkp etc.)

    Problem statements:

    1 when you use a refnum, any change in writing refnums property value will also change the parent, i.e. the Subvi xygraph.  This is not desired, then an exact copy of the xygraph must be made.  HOW DO YOU DO THAT?

    2 when you use a refnum for a xygraph, how do we get the xy values?  If the value property node is selected, a variant is produced.  (which, after careful examination, I was still not able to make heads or tales of this particular variant)

    PS a refnum is used because the xygraph was already formatting applied to its legend, axis, plots, etc.  A refnum passed to a Subvi is the only way I know to succeed all formatting etc. for the chart.

    PPS. I understand that there is an invoke node that will export an image, it contains certain restrictions (for example, requiring that the Subvi be open, because it works by rules similar to a print) which make the United Nations applicable to this problem.

    You must use the variant data to convert the variant into the native data.  XY charts can take data in several formats, so you can simply create a constant to your XY graph, dump all the data to get the appropriate format.

  • Photoshop does not recognize secondary monitor resolution

    I'm trying to add a flare of a photo with PS maximize on my secondary monitor, which has a resolution of 2560 x 1080, but PS shows the maximum value must be 1280 and automatically adjusts this value. I don't know even where to start, being a true newbie to PS. Anyone? Bueller?

    Thank you.

    JJ, thanks for the reply. No, I did no registry change that since I have this computer. One thing later, I noticed is that the numbers in the coordinates X and Y in the information window are not suitable. They go up to more than 9,000 more than 6,000 on the Y and X axis. The original image is 1280 x 850 and my monitor is 2560 x 1080 (format 21:9). I guess that helps my problem.

    And then I found the problem while typing this. The scale in the Info window has not been defined in pixels, but in inches. I think what I saw that a comma was a period 9,172 inches, not 9 172 pixels. DOH! I told you I was a newb.

    This mark as resolved.

  • Axis Vertical LineChart

    I am currently draw a bunch of data, and I ran into a situation where some of the data are actually percentages, where the expected behavior is to other map data to a standard vertical axis that measure County but to map this percentage of data on a vertical secondary when 100% is equal to the height of the line card. Is this possible? Someone at - it an example? What I'm looking for, it's something that looks like this:

    500 | 100%
    | |
    Coun 250 | 50% percentage
    | |
    0 |____________________| 0%
    0 7 14 21 28
    days

    Thank you
    Josh

    Wow, this example has trashed when it was published.

    Good news is that I answered my own question. Graphics take just load a 'secondDataProvider' and a 'secondSeries' to do.

  • Y axis more

    Greetings,

    We use the Apex 3.1 integrated with Anycharts 5. We have developed a combined line chart and stacked bar has also added an additional axis for the line of work with the combination. The problem that we face is, the primary and secondary value axes get intervals and different ranges... We can define the intervals and the beaches using the settings in XML format, but we do not want to put up.

    Is there a way to tell the axis Y high school to take the range of the Y axis main so that stacked bars and lines get the same scales.

    -Vatsa

    Dimitri,

    It works very well! Thank you.

  • Using an iMac as a secondary screen without control F2

    Hello

    I have a few iMacs and I would like to know if there is a way to configure one as secondary display so that I don't have to press 'CTRL + F2' every time.  Help, please.

    To do what you want, you need to leave them connected 24/7.

  • iMac G4 as a secondary screen for MacBook Pro

    I have an old iMac G4 which I would use as a secondary display for my MacBook Pro (13-inch, mid-2012).

    My guess would be to use the VGA port and port G4 mini Thunderbolt of the MBP but can work?

    And what kind of cards can I use?

    Thank you very much

    You must configure Virtual Network Computing.

    (144752)

  • Dictation accessibility in Mavericks secondary Board

    I turned in Mavericks dictation (10.9.5). Everything went well: increased dictation has been downloaded and it works. When I go to accessibility in system preferences, in order to work with orders of dictation, however, there is no secondary on the left at the dictation. Who should have appeared automatically, or do I have to download this subgroup of experts separately?

    Get you anything if you press the button FN twice?

  • Dealing with secondary bookmarks toolbar and its unwanted existence

    Firefox 40 guard reactivate secondary bookmarks toolbar when I said a million times to finish him. Is there a way to change this? All other toolbars to work like they are supposed to, and this occurs even with no active modules.

    OK, so (wylaczony) means off - sorry, I don't read or speak Polish.

    With Firefox closed, remove the xulstore.json in your profile folder.
    Then launch Firefox.
    How can I find my profile folder?

    This xulstore.json file has replaced the old localstore.rdf file, which stored personalization data in the interface, such as customizations of the toolbar, size and position of the window. If you have a localstore.rdf file, delete that, too.

Maybe you are looking for

  • bought an app less than 90 days, but I can't repay it

    I bought a mac app in 7 July 2016, obviously, is not 90 days enough, but I can't pay off (the reason for which it is purchased more than 90 days)

  • Portege Z835 - need help with BIOS update

    Hello. I have a Portege Z835, with a battery problem: do not load. The battery indicator says "3% connected load" but it doesn't load the battery. Some forums said that the solution is updating the Bios. I have a Bios Update v.1.60 ready to install.

  • NB200 - from Windows 7 to XP - help

    I recently bought this laptop with Windows 7 and have found that this does not work for me if you want to install Windows XP. I downloaded the drivers and put them on a disc. What I have to do a clean install or can I install XP on Windows 7? When an

  • Real time combine a XY grafica

    Buenas noches a todos Antes that nada espero y todos is hayan pasado well en esta semana holiday bueno mi duda ahora're siguiente intento realize una con Graficas a solo intrigues donde por el lado of the amplitude me muestre "carga" y por el lado de

  • do Iolo's have some free antivirus avalibale to download?

    do Iolo's have some free antivirus avalibale to download?