How to plot the graph control scattergraph mulitple?

Hello

I have two double arrays declared and I'd draw x and y and x x. I can do one at a time, how can I add so that x, y and x, x points are displayed. I tried to use the plotXYmulitple command, but it requires a 2D array. What I need to convert my 2D table data or there is an easier option? any help would be greatly appreciated.

You are absolutely right! That's what happens you encode two o'clock in the morning. I'm writing my own solution below in the case where any other interested person. But you know it will be nice if you can make mulitple conspire like matlab function plot(x,y,x,y) etc.

Thanks again!

Kashif

            double[] xValues = new double[5] { 1, 2, 3, 4, 5 };            double[] y1Values = new double[5] { 1, 2, 3, 4, 5 };            double[] y2Values = new double[5] { 1, 4, 9, 16, 25 };

            scatterGraph1.DefaultDataOrientation = DataOrientation.DataInColumns;

            double[,] yValues = new double[xValues.Length, 2];

            for (int i = 0; i < xValues.Length; i++)            {                yValues[i, 0] = y1Values[i];                yValues[i, 1] = y2Values[i];            }

            scatterGraph1.PlotXYMultiple(xValues,yValues);

Tags: NI Software

Similar Questions

  • How to stop the remote control to the setting

    How to stop the remote control to the setting

    Disable the settings > general > accessibility > voiceover.

  • How to recharge the remote control for Apple TV 4

    How to recharge the remote control for Apple TV 4

    Recharge your Siri or Apple TV Remote - Support Apple Remote

  • Plot the graph of origin using Labview

    Hellou,

    I try to plot the graph of origin using Labview. In Labview I connect and create the new model of origin for instance. Template file (.) OPJ) was created before. End of data in the worksheet then I plot the graph of origin. But I can't use OA_NewEmptyGraph.vi because it is to create a new chart. I'm trying to graph in graph model.

    In labview that I found for OA_FindWorksheet.vi sheets, it's journal to find, but a cant find, a few "OA_FindGraph.vi" is - it is or made elsewhere?

    Thank you

    Norbert

    Hi Norbert,.

    your question seems to be linked to LabVIEW, while you're wrong he posted in the forum of LabWindows/CVI.

  • How to rehabilitate the Parental control?

    During the installation process of Windows 7, I made a mistake: I chose the domain Mode (when should I choose the user Home Mode) there are three butterflies.

    When I try to run games with side as an adult, I have can´t access.  It appears messages like 'Parental controls blocked this game' or 'you don't have permission to run the game.  Check the Parental control in the game Explorer window.

    I have no Parental controls in Control Panel.  How to rehabilitate the Parental control?  or how to rehabilitate the Home user in Windows 7 with Parental Control Mode?

    Note: I am the rights owner and the administrator of my computer.

    TododeAzul,
    Click Start > computer (right click) > properties > change
    This will give you the ability to change from a domain to a workgroup.  After that, change is effective, it should open the Parental controls for you. Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • ST2420 exactly how to work the color controls?

    Try to adjust the brightness and to get rid of a yellow cast

    User Guide should tell you how to run the color controls:
    FTP://FTP.Dell.com/manuals/all-products/esuprt_electronics/esuprt_Display/Dell-st2420l_User%27s%20Guide_en-us.PDF

  • How to draw the graph of output?

    Hello

    How to draw the graph of an exit? is there any api for it?

    The short answer is that there is no API, but you can create your own field if you want to, and here are some samples:

    http://supportforums.BlackBerry.com/T5/Java-development/create-graph-fields/Ta-p/444968

    I recommend the search before you ask questions to see if other people have asked similar questions.  If you type chart in the search box you will find other similar topics.

  • How to customize the context menu in the legend of plotting the graph of wave?

    I am currently on the creation of a simulation of various control loops as educational objectives. Here, I have a chart in waveform to different signals. Now my question, how to customize the context menu in the track of the Waveform graph legend => when I click on 'image' behind the Plotnames one menu to open options where you can customize the color etc. or plotwidth. But students should not have access to these settings. How can I change or disable this menu? The context menu for the waveform graph, I've already customized by right click on table of waveform-Advanced online-online menu, but for the legend of conspiracy, I have not found this setting...

    Thanks for your answers... I tried different things, but I don't see a solution yet :-(

    See you soon

    DCP

    Hi, STC,

    There have been a number of suggestions for change or disable the table , right-click menu, but I see that this does not affect the context menu of legend , which is what you ask for help with.

    To prevent completely the menu right-click to work, you must disable the chart control entirely. You can do this by double-clicking on the chart and select Advanced Options > active state > disabled. This will prevent the operator to be able to generate a menu right click on the chart control.

    If however you still wanted the table, make a right click menu to work, but the legend made a right-click menu will be disabled, I see two options:

    1. draw a classic decoration square on the legend and the transparent color. This will prevent the mouse clicks to achieve the legend, and transparent it will not interfere with your user interface appearance.

    2 use a Structure of the event to capture the event filter Popup Menu of Activation?  for the chart control. You can then use the Coords property to determine if the mouse is over the legend or not. If this is the case, send faithful away? right Terminal. It will refuse the context menu when the user clicks on the legend of the plot.

  • Re: How to reconfigure the remote control for Qosmio F50?

    Hello
    I have a Qosmio F50, which came with a standard remote control for applications like media library etc, how do I reconfigure the keys to do exactly what I want it to do?

    For example the button power on the remote control to completely stop the machine instead of standby

    Thank you
    Dan

    Hello Dan

    Why do you think something like this is possible? What is this described in s operating manuals.
    If something like this can be done, it must be described in the manuals?

    In 10 years Toshiba has offered several different notebooks with the remote, but something like this was never possible and remote control buttons were always with defined function.
    You have some really cool ideas.

  • Satellite P100-PSPA3A-05S00P - how to use the remote control & infrared

    Satellite P100-PSPA3A-05S00P.

    Do not know if I have deleted the drivers or need drivers for remote control and infrared.
    I'm not sure how to activate the infrared but I got this cable look like an infrared receiver, but you don't know where it's going.

    I used the remote when I bought the laptop from 1st but it was a few years ago...

    Hello

    I think that infrared doesn t need to be activated. It s must already be enabled.
    But the remote control can be used within Windows Media Center.
    I think this will work because my friend of mouse remote control with Windows Media Center as well and it worked well.

  • How to use the "Toshiba controls" with other players?

    Heey

    I have a Satellite with Toshiba controls. How can I change so I can use the buttons for other media players and not only Windows Media Player?

    A dude sorry for the bad news, but I fear that it is not possible to use the Toshiba controls with another application as with WMP (CD) and WinDVD (DVD)
    I think that the utility was already programmed and designed to use only these two applications.

  • How to save the value controls in labview

    Hello
    I want to know how to record the value of controls in the PC. means if I attribute 5 numeric value to a control, he has to stay there even I restart my PC.

    And here is a simple example of using - http://decibel.ni.com/content/docs/DOC-15349

  • How to build the current controlled current source

    I want to check my solution using multisim, however, I don't know how to build a circuit containing the current controlled current source. Hope someone can help me. Thanks in advance

    .

    The current direction must be placed between the the + 12V and 24 ohms resistance.

    I just made the circuit and if you make the change, you will see that you are right in your calculation.

  • How to make the common control for all pages button in TABCONTROL?

    Hi all

    I use a TABCONTROL to my application. I'm going to STOP and REGISTER the control. I have to show this key to all pages in a TABCONTROL. How can I do?

    Kindly help me?...

    Hi srinivasan,.

    If you want to keep 'Save' and 'Stop' common, why would you keep the tab control? Your tab control takes all the space on the front panel? If so, you can have SAVE and STOP on other vi, and you can call this (MODAL) vi.

  • How to uninstall the parental control

    How to UN- install parental control? It does not work on my network; There is little or no instructions; my children may not register for their intranet of the school with him blocking access, and since there is no instructions on how to control it, I'm stuck!

    Hello

    The question you have posted is related to Windows live family safety and will be much better suited in this forum. Click on the link below.

    http://windowslivehelp.com/forums.aspx?ForumID=e1431575-9028-47fa-B103-5bb3f4994740

Maybe you are looking for

  • Journal of the iMac in question

    Hi, I have a late 2012 27 "iMac. He has recently started to generate random passwords in the log at the stage. The only solution seems to be the power down and reset the PRAM. It's happening almost daily now. This doesn't seem to be affected by the d

  • Trying to get back to Quicktime 10 QT Pro 7

    Since the upgrade to Mac os 10.11, I had this 10 useless Quicktime on my computer, so I downloaded and installed 7 QT, but what I have is Quicktime 10.

  • How can I solve this problem: CEC_main.exe install this new?

    I phoned the helpdesk with: their advice was to download the webcam driversoftware.I reinstalled the driver of the laptop software. After that I installed the downloaded new driver software, but that has not solved the problem. The following by the a

  • Problem with executable RT

    It seems that if I've been down this road before.  I have a great application that is the engine of two different instruments in a single PXI chassis.  I am able to build the application for the two individual instruments, compile them and get a corr

  • WRT350N blocking up

    I bought a Linksys certified WRT350Ns renovated an update of my WRT54G v6. I probably would have been satisfied with my 54G since it is running solid as a rock now. Anyway, the ngn350 happened to me DOA. It was walled with just a blinking light. So I