How can I draw two matrixes in one graph???

I have to draw two matrixes in one graph.
Matrix size is 10 X 100, 10 X 100.
Help me!
Have a good day!

You can do this by adding multiple plots to the graph's plots collection and then plotting each matrix on its own plot. The easiest way to add additinal plots to a graph's plots collection is to right-click on the graph in the dialog editor, click on Properties, click on the Plots tab, and then click the Add button to add additional plots.
Now if you have a member variable for the graph in your dialog class (let's call it m_graph for this example), you could do this:
// Plot the first matrix
m_graph.Plots.Item(1).PlotXY(/* Your first 10x100 matrix data */);
// Plot the second matrix on a different plot, but same graph
m_graph.Plots.Item(2).PlotXY(/* Your second 10x100 matrix data */);
- Elton

Similar Messages

  • How can I draw two differenct plots at the same graph?

    [I am beginner]
    I have two different set of data which have differenct x-axis values. How can I draw two data at the same plot?
    For example, one data set is
    x y
    1 3.5
    3 2.3
    5 1.3
    8 3.2
    The other
    1 2.3
    2.5 5.4
    4 2.5
    If I use m_graph.plotXvsY two times. But it draw only one graph at the same time.
    Please let me know. Thank you in advance.

    Do you really need the two sets of data on the same plot or is what you really care about is that the two sets of data are in the same graph? If it's the former, then there's not much that you can do since a plot can only contain one set of data. You can append to an existing set of data by calling the corresponding Chart (for example, ChartXvsY) method, but the result is that the plot's data will appear continuous.
    If it's the latter, the way to do this is to add multiple plots to the graph and plot each set of data in a separate plot. For example, go to the Plots tab in the graph's property pages, add another plot, then here's some sample code that demonstrates how to plot the sets of data from your example above:
    double xData1[] = { 1, 3, 5, 8 };
    double yData1[] = { 3.5, 2.3, 1.3, 3.2 };
    CNiReal64Vector xDataSet1(4, xData1), yDataSet1(4, yData1);
    m_graph.Plots.Item(1).PlotXvsY(xDataSet1, yDataSet1);
    double xData2[] = { 1, 2.5, 4 };
    double yData2[] = { 2.3, 5.4, 2.5 };
    CNiReal64Vector xDataSet2(3, xData2), yDataSet2(3, yData2);
    m_graph.Plots.Item(2).PlotXvsY(xDataSet2, yDataSet2);
    Hope this helps.
    - Elton

  • How can I make two Canvas in one Window ?

    I want in the main window ( that is only window in the module ) press button to appear another canvas.
    but that I can't make it , I just made two window until the another window appear.
    that's all
    I tried with :-
    show_view('canvas_name');
    but didn't work with me Sad
    the another canvas made it stacked Canvas .... but also didn't work Sad
    so please , How can I make two Canvas in one Window only ?
    and thanks in advance

    this code work with me :-
    show_view('canvas name');
    go_block(block_name');
    execute_query;
    for HIDE button u have to write...
    hide_view('canvas_name');
    but
    that not exactly what I want ...... I want the stacked canvas appear like second window , and could control on it like window .... it could be possible ????

  • HT202060 How can I make Activity Monitor show one graph instead of four for MacBook Air?

    How can I make Activity Monitor show one graph instead of four for MacBook Air?

    Learn about OS X: Activity Monitor shows one CPU Usage graph on systems with more than four cores
    Copied and pasted from top of the page.

  • How can I run two DML in one FORALL statement?

    How can I run 1) select 2) update in one FORALL for each item as below?
    OPEN FXCUR;
      LOOP
            FETCH FXCUR BULK COLLECT INTO v_ims_trde_oids LIMIT 1000;
            EXIT  WHEN v_ims_trde_oids.COUNT() = 0;
         FORALL i IN v_ims_trde_oids.FIRST .. v_ims_trde_oids.LAST     
              SELECT EXTRACTVALUE(XMLTYPE(CNTNT),'/InboundGTMXML/ProcessingIndicators/ClientCLSEligibleIndicator')        INTO v_cls_ind
              FROM IMS_TOMS_MSGE  WHERE ims_trde_oid = v_ims_trde_oids(i);
             IF v_cls_ind      IS NOT NULL THEN
                      v_cls_ind       := '~2136|S|'||v_cls_ind||'|';
             UPDATE ims_alctn_hstry  SET CHNGE_DATA_1   =concat(CHNGE_DATA_1,v_cls_ind)
             WHERE ims_trde_hstry_id = (select max(ims_trde_hstry_id) from ims_alctn_hstry where ims_trde_oid=v_ims_trde_oids(i));
             DBMS_OUTPUT.PUT_LINE('Trade oid: '||v_ims_trde_oids(i)||'   CLS Eligible Indicator: '||v_cls_ind);
          END IF;
      END LOOP;
      CLOSE FXCUR;Your help will be appreciated.
    Thanks
    Edited by: PhoenixBai on Aug 6, 2010 6:05 PM

    I came through this forum while googling on the issue of 'using two DML's in one FORALL statement.
    Thanks for all the useful information guys.
    I need to extend this functionality a bit.
    My present scenario is as follows:
    FOR I in 1..collection1.count Loop
         BEGIN
              insert into tab1(col1)
              values collection1(I) ;
         EXCEPTION
              WHEN OTHERS THEN
              RAISE_APPLICATION_ERROR('ERROR AT'||collection1(I));
         END;
         BEGIN
              UPDATE tab2
              SET col1 = collection1(I);
         EXCEPTION
              WHEN OTHERS THEN
              RAISE_APPLICATION_ERROR('ERROR AT'||collection1(I));
         END;
    commit;
    END LOOP;
    I need to use the FORALL functionality in this scenario, but without using the SAVE EXCEPTIONS clause keeping in mind that I also need to get value in the
    collection that led to the error.Also, the each INSERT statement has to be followed by an UPDATE and then the cycle goes on(Hence I cannot use 2 FORALL statements for INSERT and UPDATE coz then all the INSERT will be performed at once and similarly the UPDATEs). So I created something like this:
    DECLARE
    l_stmt varchar2(1000);
    BEGIN
    l_stmt := 'BEGIN '||
              'insert into tab1(col1) '||
              'values collection1(I) ; '||
         'EXCEPTION '||
              'WHEN OTHERS THEN '||
              'RAISE_APPLICATION_ERROR(''ERROR AT''|| :1); '||
         'END; '||
         'BEGIN '||
              'UPDATE tab2 '||
              'SET col1 = :1; '||
         'EXCEPTION '||
              'WHEN OTHERS THEN '||
              'RAISE_APPLICATION_ERROR(''ERROR AT''|| :1); '||
         'END;'
    FORALL I in 1..collection1.count
    EXECUTE IMMEDIATE l_stmt USING Collection1(SQL%BULK_EXCEPTIONS(1).ERROR_INDEX);
    END;
    Will this approach work? Or is there any better aproach to this? I am trying to avoid the traditional FOR ..LOOP to achieve better performance of query

  • How can I merge two iTunes folder, one with music and the other without?

    Two years ago Apple support suggested moving my iTunes folder out of my Home folder to the HD level in order to share it across users. This is no longer necessary. How do I move my music back to my Home folder since now I have an Itunes folder at the HD level (along with application, library, system, users folders) and an Itunes folder under Music in my Home folder. For example both those itunes folders have a mobile application, album artwork, and previous itunes library subfolder as well as itunes library extras.itdb and itunes library genius.itdb. How do I merge them or which ones do I delete? The files in the mobile app folder in my Home folder have a newer "last modified" date. Currenty under Itunes-->Preferences-->Advanced, it says Itunes media location is /itunes/itunes media/ music. I assumes that is the HD level folder. What happens if I hit reset?
    I am using Itunes 10.6.3.
    Any help tailored to a novice would be great. Thanks.

    Thanks for the links, Limnos.
    If you are willing to continue helping, here's what I found.
    Just to clarify the two iTunes folders I am refering to are:
    username-->Music-->iTunes
    HD-->iTunes
    I am presuming each location has a full set of files as outlined in the above links?
    Not all the files are in both locations. Most are.
    - The Itunes folder in my home folder does not have itunes library.xml.
    - The Itunes folder in my home folder has a subfolder called Mobile Applications (username-->Music-->iTunes--> Mobile application). The Itunes folder at the HD level also has a Mobile Application folder but it is a subfolder of Itunes Media folder (HD-->iTunes--> iTunes Media-->Mobile applications) and has no files in it.
    - I do not have an iTunes Media in the iTunes folder in my home folder.
    - also the Itunes media folder (HD-->iTunes--> iTunes Media) has subfolders by type (books, movies, itunes u, music etc...) but the iTunes Media-->Music also has some of the same subfolders ( iTunes Media-->Music-->books, iTunes Media-->Music-->Movies, iTunes Media-->Music-->iTunes U). Is this normal repetition?
    You say:
    /itunes/itunes media/ music
    but it is important to note what comes before all that.
    There is nothing as far as I can tell before that first forward slash. Since the only iTunes Media folder I have is in the iTunes folder that resides at the HD level (HD-->iTunes--> iTunes Media folder) not the iTunes folder in my home folder (username-->Music-->iTunes) , I assume that's the one that holds the music.
    Keep iTunes media folder organized and Copy files to iTunes Media folder when adding to library are both checked on
    Does that give more clarity into my problem?

  • How can I open two windows from one submit?

    Is there a way to open two browser windows from one click of a button to submit a form? I have a button on a screen that does some processing of the data and then generates a PDF file with the output. I would also like it to run a report and show the output of that in a separate window. I realize that using regular HTML with a target of "_blank" on the form, you can have the results show in a new window, but how can I launch a second window from a single button click, if possible?
    Thanks!

    It can be possible using two different popUps instead windows. Onclick on the button just make vissible true of those two popup in the event method, before making visible true, do the business operation to show on the popups. So simple :)
    Note: Popup has modal=false attribute
    Edited by: man_ish on Jan 12, 2010 10:13 AM

  • How can I put two photos in one 6x4 print??

    Hello!! So I want to print out some of my photos for a scrapbook.
    I however do not want them all to be 6x4 sized prints and making smaller ones (scrapbook prints) at the photo shops cost too much.
    There HAS to be a way to just put two separate photos into one photo jpeg type file right? That way I can print them out normally and just cut them in half so some are smaller?
    Any help?
    Much appreciated!

    Your question is not clear
    do you want to
    1 - put two separate photos into one photo jpeg type file
    Or do you want to print two photos on one sheet of paper so you can
    2 - can print them out normally and just cut them in half so some are smaller
    For 1 you need an external editor - you can do it in pages for example
    for 2 you simply select the two photos, crop them so they will fit and print selecting the printer, paper size and print size (slightly smaller than 3x4 since there needs to be a small border around them and between them), if the priview does not show two photos on the page click customize and in setting select multiple photos per page - the preview will reflect this selection and finish printing
    LN

  • HELP!!! How can I put two phones on one comp??

    So here's the deal, my mom bought an iPhone yesterday and I plugged it into the computer and entered HER account information. Including her appleID & everything. Both of our phones are named differently as well. Then I put some of the apps that I had in the library that I thought she would want.  Then when she went to download a new app herself on her phone, it asked for my appleID password instead of hers?! How can I fix this??

    You will need to reset her phone but from a new user account on the computer for her exclusive use, her own iTunes library, etc. She can use her own Apple ID but she will need to purchase her own apps.
    Create a new user account on the computer for her to use. Then sync her iPhone with iTunes in her account. This will essentially remove everything from her phone - like a reset. She can then populate her iTunes, iCal, Address Book, etc. Once that's done resync her phone.
    Please Get the iPhone User Manual for iOS 5

  • How can I use two Ipods on one computer.

    I was wondering if it is possible to use 2 Ipods on one computer without having to reload all of the music to the new library.

    If you are adding a second iPod for your own use, just connect the new iPod to your computer and follow the on screen instructions. It will update from your existing library. Depending on the size of your library and the type of iPod you choose you can have it update all songs and playlists, selected playlists only or you can manage it manually
    If the iPods belong to different users then there are actually a few methods for using more than one iPod on a single computer: How To Use Multiple iPods with One Computer
    Just to summarise what's in the link above which is a little out of date:
    Method one is to have individual Mac or Windows user accounts which by definition would give you completely separate iTunes Music folders and libraries.
    Method two is to set your preferences so that any or all of iPods get updated with only certain playlists within one library:
    Loading songs onto iPod automatically - Windows
    Choosing the update option "Sync Music - Selected playlists" allows you to create a playlist specifically for each iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used by the other iPod. You can read more about playlists at these links:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes
    Another option when using a single library is to set any or all of the iPods to manual update: Managing content manually on iPod

  • How can I place two fields from one column side by side?

    Hello experts,
       I need your help: I have a column which has two different fields. One is Sales, the second is Sales Todate.
    My boss want me to get the difference btn them as well as the percentage. Now, here is my challenge: I can easily filter them but I want them to be side by side; but when I filter one appear on top of the other like below
    Sales                           
    Sales
    Sales
    Sales
    Sales
    SalesTodate
    SalesTodate
    SalesTodate
    SalesTodate
    SalesTodate
    However, I want them appearing like below:    that way, I can place the difference column beside them.
    Sales
    SalesTodate
    Sales
    SalesTodate
    Sales
    SalesTodate
    Sales
    SalesTodate
    Sales
    SalesTodate
    Any help will be appreciated..  I have tried a case statement, still the problem persist
    Chuck
    On the side: Does anyone know how to place the question in such a way when one answers I can mark correct or helpful, I am still not able to.. I hate it, when I place a question I go through create then discussion, is that the right way?

    Hi
    Just drag the column to measure label area in pivot table @ columns.
    So the table has to drag and drop to column area on the top so it will get display like
    Sales     SaleToDate
    And the measure label to row side drag and drop it
    sales      saletodate
    values     values
    Regards,
    VG

  • How can i add two table into one internal table

    I WANT TO ADD THIS TWO DIFFERENT TABLE INTO ONE INTERNAL TABLE PLEASE HELP.
    TABLES: J_1IEXCHDR, J_1IEXCDTL.
    SELECT * FROM J_1IEXCHDR WHERE STATUS = 'P'.
    WRITE: / J_1IEXCHDR-LIFNR,
              J_1IEXCHDR-DOCNO,
              J_1IEXCHDR-EXYEAR,
              J_1IEXCHDR-BUDAT.
    SELECT * FROM J_1IEXCDTL WHERE TRNTYP = J_1IEXCHDR-TRNTYP
                              AND DOCYR  = J_1IEXCHDR-DOCYR
                              AND DOCNO  = J_1IEXCHDR-DOCNO.
       WRITE: / J_1IEXCDTL-EXBAS,
                J_1IEXCDTL-EXBED,
                J_1IEXCDTL-RDOC1,
                J_1IEXCDTL-ECS.
    ENDSELECT.
    ENDSELECT.
    THANKS IN ADVANCED.

    U have to link these 2 tables like this
    <b>SELECT
    J_1IEXCHDR~DOCNO
    FROM J_1IEXCHDR inner join J_1IEXCDTL
    on J_1IEXCHDRDOCYR  = J_1IEXCDTLDOCYR
    WHERE STATUS = 'P'.</b>
    this is sample code only, and u have to check the F.key relationship.
    Regards
    Prabhu

  • How can I have two Apple IDs (one from Canada and one from the UK) for the same device?

    I originally bought an iPhone in Canada and had my first Apple ID while there. I still want to have this account, as there are some Canadian apps that I wish to have and keep updating. However, I am now living in the UK - yet when I try to search for apps that all of my friends have I can't find them because they are particular to Britain. Do I need an new Apple ID for the UK, and is it possible to have both Apple IDs feeding into the same iTunes account?
    Thanks for any insight!

    If you want to move your iCloud account to another existing ID you'll have to delete the existing account, set up a new account with the other ID, then upload your data to the new account.  To do this, begin by going to Settings>iCloud and turn all synced data (contacts, calendars, etc.) to Off.  When prompted choose to keep the data on your phone.  After everything is turned off you can scroll to the bottom and tap Delete Account.  Then set up the new account with your other ID and turn syncing for calendars, contacts, etc. back to On.  When prompted, choose Merge.  This will upload your data to the new account.  Note: this will not migrate your photo stream photos.  You will need to save these prior to deleting the existing account.

  • How can i add two emails under one account

    i have my primary apple email (that i used to purchase apps) and i need to add another email (work email) under my primary apple email so i can use the work email on my work iphone and it the same time download the apps that i purchased from app store to my work phone, confusing right?

    i got it never mind. . {:)

  • How can I combine two databases, from two computers, to have one combined database of messages?

    My old XP computer recently died and I had to build a new Windows 8.1 machine. While I was down I used a laptop as a temporary replacement. Now my new machine is running fine and receiving e-mail, but I now have two databases--one on the new machine and one on the laptop. Both are based on a recent backup, so they are lengthy--except that the new machine's database has a hole in it for the period I was on the laptop and the laptop's database also has gaps. How can I combine two databases into one that includes the messages from both machines?
    Thanks in advance,
    profsimonie

    Thanks for your reply. My profile folder did not contain any MBOX files. I found them in another folder on another drive. The Import-Export tools simply transferred each folder to the current one as a sub-folder. Then I had to use ctrl-a to select everything in the folder and move them manually to the current folder (such as inbox). Then I could use the other utility you mentioned to remove the duplicates. This had to be done, one folder at a time, to combine each folder. It worked, but I had about thirty-five folders to deal with. The whole process took most of two days to complete. I wish there was a simple way to blend everything together in one action, but I could not find an add-on that would do this.
    Frank Simonie

Maybe you are looking for