How can I plot two sets of data points in 3d graph?

I am trying to plot two sets of data points in 3d graph. I also need to make a set of data with one color and the other set with a different color. For example, I need to plot 10 (x,y,z) data points in 3d. Maybe 6 points need to be blue, and the other 4 red. Could you tell me how?

What is your LabVIEW version? (things are a bit different in 8.6).
Basically, you create multiple instances of the VI that gets placed automatically when you drop the 3D graph and then wire a different number to the plot ID at the bottom.
You define all the plots (color, style) via the properties dialog.
Have a look at my example posted here. One plot is "blue dots" and one is a "shaded surface". See how far you get.
Message Edited by altenbach on 04-23-2009 01:11 PM
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How can I connect dots across missing data points in a line chart?

    Hi all!
    I have a table in Numbers that I update every few days with a new value for the current date (in this case body metrics like weight, etc.), which looks something like this:
    Column 1              Column 2      Column 3
    Aug 16, 2011         87.1             15.4
    Aug 17, 2011         86.6
    Aug 18, 2011         86.1
    Aug 19, 2011              
    Aug 20, 2011         85.7             14.6
    Aug 21, 2011         85.3
    Every once in a while there will be a missing value for a given date (because I didn't take a reading on that day). When I plot each column against the date on a line chart, there is a gap where there are missing data points. The line does not connect "across" missing data points. Is there a way to make the line connect across missing data points?
    Thanks for any help. This thing has been driving me nuts!

    Leave your nuts in peace.
    Don't use line charts but scatter charts.
    These ones are able to do the trick.
    Of course to do that you must study a bit of Numbers User Guide.
    In column D of the Main table, the formula is :
    =IF(ISBLANK($B),99999,ROW())
    In column E of the Main table, the formula is :
    =IF(ISBLANK($C),99999,ROW())
    Now I describe the table charter.
    In column A, the formula is :
    =IFERROR(DAY(OFFSET(Main :: $A$1,SMALL(Main :: $D,ROW())-1,0)),"")
    In column B,the formula is :
    =IFERROR(OFFSET(Main :: $A$1,SMALL(Main :: $D,ROW())-1,1),"")
    In column C, the formula is :
    =IFERROR(DAY(OFFSET(Main :: $A$1,SMALL(Main :: $E,ROW())-1,0)),"")
    In column D, the formula is :
    =IFERROR(OFFSET(Main :: $A$1,SMALL(Main :: $E,ROW())-1,2),"")
    In this table, select the range A1 … D5
    and ask for a Scatter chart.
    You will get what you need.
    I asked that points are joined by curves
    I just edited the parameters of Xaxis and Yaxis to get a cleaner look.
    I repeat one more time that knowing what is written in the User Guides is useful to be able to solve problems with no obvious answer.
    Yvan KOENIG (VALLAURIS, France) samedi 27 août 2011 15:59:20
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How can I create User Entered Additional Data Points in Credit Management?

    I currently have a requirement to create additional data points in Credit Management (11i) that require a data analyst to input the value so that the score can be calculated.
    For example: Does customer have a Qualified Audit Report?
    If YES = +10 points added to score
    If NO = 0 points added to score
    I was able to add an additional data point and the case folder was assigned to an analyst, however when opening the case folder to input the missing data, the additional datapoint was not included in the case folder. Does anyone know what I may have missed in the setup?
    Data Point was defined as follows and added to a checklist called TEST.
    Data point: Unqualified
    Category: (none)
    Parent: (none)
    Application: Receivables
    Scoreable: Y
    Enabled: Y
    PL/SQL Package: (none)
    Function: (none)
    Thanks in advance.
    Shauna
    Edited by: sphelps on Sep 22, 2011 8:29 AM

    The setup described above was correct. The datapoints did not show up in the case folder until the next day. I am assuming that maybe the changes required a bounce or a background process of some sort.

  • Can I import two sets of data to Essbase at the same time?

    For example, use two MaxL Scripts to import data to one Essbase Application Datatbase in the Same time, is there any impacted or will fail one of them or nothing will happen but just slower?

    Hi,
    It is possible you run 2 dataloads at the same time, there will be probably be an impact in performance than just loading one file at a time, not sure of the impact, you will have to test.
    If you are talking about a BSO cube you could also have a look at the essbase configuration setting DLTHREADSWRITE to see if you can improve the dataload time by increasing the threads.
    If it is an ASO cube then you should be able to do multiple dataloads into different buffers, though you have to commit them to the database at the sametime.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How can I plot two plots with two different Y axis,one on the left and one on the right ?(double axis)

    I have read many similar questions  on the forum but I see no best ways . I use DAQ card .LabVIEW 8.0, to measure two signals at the same time  ( ex: intensity mA (autorange),temperature:0-400oC) and I want to plot them on the same graph. I used stack plots without problems,but it doesnot satisfy me . Help me.
    Attachments:
    doulbe axis1.JPG ‏56 KB

    Ok, I did all as you told me. I got the graph that I want to create. I got two curve on the same graph but the scale is not right. Only on one Y axis the scale is correct, the other is not . ( I want to use one Y axis : 0 to 400, the other :0-10 (or autoscaleY)). The attached screen shot shows that. It is no problem when I use stack plot. Thanks.
    Attachments:
    doubleaxis.jpg ‏114 KB

  • How can i log two (almost equal) data streams into one spreadsheet file?

    Hello,
    My problem is (as stated above) that i would like to log data obtained from 15 current-sensors and data obtained from 15 pressure sensors into one spreadsheet file. The idea is to put them next to eachother (preferabley pressure current sensors 1, pressure current sensors 2, pressure current sensors 3 etc.).
    Next to that I'm having difficulty logging certain constraints into a separate spreadsheet file. I.e. I've placed a maximum value constraint on my datalogger and I wish to log the data that has surpassed the max. constraint seperatly from the main logging file (see above) and (of course) preferably with the associated sensors. I would be extremly grateful if someone
    out there could help me with this problem becouse when I've fixed these problems my internship will finally have come to an end (and i NEED a vacation). Thanks in advace;
    Gideon Haan
    Nefit Buderus bv Deventer (Netherlands)
    [email protected]

    Shouldn't be too difficult. You would obviously have to have some form of test to see when your data has gone out of the specified range. You could then have this secondary logging process inside a case structure. You could innitialize this second file with the same header info. This is easiest if you go ahead and log all the sensor values into this new "surpassed" file if any of them are over. Otherwise, you will have to enter space characters ahead of the sensor values to ensure that the columns line up. You can create a string constant with a bunch of space characters and just use it over and over as necessary.

  • I need to graph data and stack the plots to create 3 graphs, how do I plot more than 1 data line on each graph

    I currently use a code heavy solution thats clunky and need to refine the graphing part. For simplicity I want to use the waveform chart and its "Stack Plots" option. However I cannot see how to collect 2 or 3 data streams and display them on 1 of the stacked plots.
    The final verson will have 3 stacked plots, the top plots needs 3 data streams, The middle & bottom plots require 2 data streams.
    Help Appreciated

    Hi,
    Sometimes the Synchronous Display option makes a difference (right
    mouse>advanced>Synchronous Display). Or while running, right click>Smooth
    Updates. Fiddle around with them, sometimes unexpected settings has the best
    performance (only four combinations anyway).
    Regards,
    Wiebe.
    "CB" wrote in message
    news:50650000000500000005810100-1079395200000@exch​ange.ni.com...
    > Dennis,
    > Thanks for that, I had tried your solution earlier while developing
    > the package. A bit dissapointing the stacked plots wont work. it'd
    > save lots of code and simplify the whole graphing part of my package.
    > I am reluctant to overlay transparent graphs etc on top of others
    > because I am aware it could hinder performance, I am doing a lot in my
    > pac
    kage and need to get the most out of the machine. My current
    > solution is nearly ok and consists of 3 waveform charts contained in a
    > cluster. I need the 3 charts to line up accurately and be of identical
    > size which involved plugging into the various sizing/xy line up params
    > which was a bit fiddly. The main problem is the bottom graph seems to
    > end up lagging at some point which gives doesnt look too good. When
    > the PC gets loaded up with too much work its best effort means the
    > bottom graph get missed out (or something like that) occasionally. I
    > have noticed this on all the machines it has run on even my new 3Ghz
    > machine.
    > I am sure this could work ok but I cannot figure how to force the
    > graphs to only continue once all 3 have their data.
    > Thanks in advance, Regards, Chris

  • HT1660 How can I maintain two separate itunes accounts on one single device without erasing either set of data?

    How can I maintain two separate itunes accounts on one single device (iPhone 4) without erasing either set of data when syncing with itunes?

    Hi,
    Depends on what you trying to setup but for purchases, you can roll down at the very end of the iTunes/AppStore pages to logout of your current account and then login into a different one.  Then your purchase will be billded to this new account.  Everything will sync as you used to but in order to use the purchased content in iTunes or other devices, you will need to authorize them (you can have up to 5 devices authorized for an account).

  • 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

  • HT1386 How can I have two seperate sets of Playlists for two different iPods on one computer?

    How can I have two seperate sets of Playlists for two different iPods, on the same PC?

    Open itunes.
    Make whatever playlists you each like.
    Connect one ipod, select only what you want, sync
    Do the same for the other ipod

  • TS1591 I just bought a second iPod touch (4th gen), but when I connect the second iPod to my computer it is not recognizing it. How can I have two iPod's set up????

    So I had an iPod touch and everything with it is fine. I just bought a second one for my daughter...exactly the same as my iPod. This second one was bought used, but was reset completely before I plugged it into my computer. My problem is... my iTunes does not recognize the second touch as a device! I can't get it to sync, so I can't get any music or anything onto the device. How can I have two iPod touches on my computer? Is there something special that I have to do to get my computer to recognize this second touch as a different device?? PLEASE HELP!!!  

    - If you are using the same USB port and the same cable and have iTunes version 10.7 or later on the computer there is something wrong with the iPod.
    - Does the second iPod work?
    - Does it charge?
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.

  • How can I transfer two user names from an iMac to a new macbook?

    How can I transfer two user names from an iMac to a new macbook?
    got a new laptop and need to transfer two usernames to it, complete with all documents help?

    Assuming you haven't already set up a user, the easiest way is to use the Setup Assistant during first boot of the new Mac, with the two Macs connected by firewire.
    You'll be prompted to migrate from a choice of sources - choose "from another Mac", select the catagories of data you want to transfer and follow the instructions.
    More info here, in Pondini's FAQ; http://pondini.org/OSX/SetupAsst.html

  • Can we setup two sets different 7912 logos in one CCM cluster?

    Hi,
    CCM 4.1(3) cluster within head office. We created the 7912 logo for system default image. However, the remote site 7912 phones, need to use a different logo other than the head office.
    as per http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Unified%20Communications%20and%20Video&topic=IP%20Telephony&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.1ddc5d3d/0#selected_message
    We can create the 7912 logo, but how can we setup two or more different 7912 logos for different sites?
    We noticed on CCM4.1(3), there is idle URL for 7912 phone, what is the callmanager default link for this URL? I am thinking to use different logo file names, and put the related URL on this parameters for remote site 7912 phones.
    Could someone let me know or any other better way to do?
    Thanks,
    JJ

    Hi JJ,
    This should work just the way you have described. Have a look;
    Idle
    Enter the URL that displays on the Cisco IP Phone display when the phone has not been used for the time that is specified in Idle Timer field. For example, you can display a logo on the LCD when the phone has not been used for 5 minutes.
    Leave this field blank to accept the default setting.
    Idle Timer (seconds)
    Enter the time (in seconds) that you want to elapse before the URL that is specified in the Idle field displays.
    Leave this field blank to accept the value of the Idle URL Timer enterprise parameter.
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_administration_guide_chapter09186a00801ecfc7.html#1121361
    Here how on CCM;
    Method 1:
    Choose System > Enterprise Parameters so that the change is propagated to all of the phones from the Cisco CallManager Administration page.
    In the URL Idle field, enter http://IP_address_of_CallManager/CCMCIP/filename.xml.
    In the URL Idle Time field, enter any positive value in seconds.
    Method 2:
    Choose Device > Phone under the Cisco IP Phone configuration so that only this phone displays the graphics from the Cisco CallManager Administrator page.
    Choose the phone/phones on which you want to put the display.
    In the Idle field, enter the path http://IP_address_of_CallManager/CCMCIP/filename.xml.
    In the Idle Timer field, enter any positive value in seconds.
    From this good doc;
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a00801c0764.shtml#topic4
    Hope this helps!
    Rob

  • How can we get Dynamic columns and data with RTF Templates in BI Publisher

    How can we get Dynamic columns and data with RTf Templates.
    My requirement is :
    create table xxinv_item_pei_taginfo(item_id number,
    Organization_id number,
    item varchar2(4000),
    record_type varchar2(4000),
    record_value CLOB,
    State varchar2(4000));
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
    select * from xxinv_item_pei_taginfo;
    Item id Org Id Item Record_type Record_value State
    493991     224     1265-D30     USES     fever     TX
    493991     224     1265-D30     HOW TO USE     one tablet daily     TX
    493991     224     1265-D30     SIDE EFFECTS     XYZ     TX
    493991     224     1265-D30     DRUG INTERACTION     ABC     TX
    493991     224     1265-D30     OVERDOSE      Go and see doctor     TX
    493991     224     1265-D30     NOTES     Take after meal     TX
    Above is my data
    I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
    In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
    its a BI Publisher report.
    please suggest

    if you have data in db then you can create xml with needed structure
    and so you can create bip report
    do you have errors or .... ?

  • How can you save an app's data?

    Hi, how can you save an app's data? For example, if I want to switch some applications on my iPod with those were on my iTunes Apps Library, iTunes will force to remove the apps that was on my device and sync the apps that I want onto my iPod. But once the app is removed from my iPod, its data will be erased too, so, for example months later, I want to put them back onto my iPod, I will lose all the apps data and games progress. So, I just want to know the way that people save their apps data.

    Yo can't. apps are locked to the account thatpurchased them and in-app purchases can only be mad with the account that originally purchased the app.
    You will have to recover use of the first account
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    If necessary:
    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions
    If you have not uses any of the $10 you redeemed to the new account, you can likely get that refunded by contacting iTunes
    Contact iTunes

Maybe you are looking for

  • Urgent ****Error in Microsoft JDBC drivers:****

    hi Guys, I am getting the following error when I am trying to execute the query: 'Select getDate()' getDate is a function which returns the system date. The query works perfectly fine when run from query analyser and most of the times from within the

  • How to install gcc and something around compiling

    Hi all.I want compile my wine with patchs but I can´t compile it checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... gcc checking w

  • Loaded runtime but missing visa drivers?

    I created an executeable on one pc and loaded it onto another with just the runtime engine installed.  Now the serial visa's will not work so I am assuming I am missing some visa drivers.  What would the best way to get these loaded, if in fact that

  • Importing playlists with new iTunes

    I just got a new computer and transferred all my music but I can't transfer my iTunes playlists. I have my iTunes library files from my old computer (both .itl and .xml) and I've read about a dozen posts on how to do this--seems that they don't apply

  • When importing, the time is weird.

    When I Import a CD/song/album to my library, it shows up as 789:57:16 in time...... that's 789 hours, 57 minutes and 16 seconds. Please help, I am really lost!