Multiplot graph with missing values fills them with zero instead of NaN

I have a waveform graph with multiple arrays (2D) which has different numbers of points in each array.  LabVIEW finds the array with the most points and then plots all arrays with that many points.  It assigns the missing points a value of zero and displays those zero values.  This means arrays with fewer points than the maximum will have values of zero appear in their plots.  This can be avoided by filling in missing points with NaN.  I am acquiring data in a loop and displaying it which requires continuous determination of the number of actual points and filling in of missing points with NaN.  Not difficult, but this could be avoided if LabVIEW would fill missing points with NaN instead of with zero.  Any way to have this happen automatically ?
Steve
Attachments:
Graph MultiPlot Missing Data.vi ‏18 KB

You can also consider using an XY graph so you don't have to do additional data manipulation. See attached for comparison.
Attachments:
Graph MultiPlot Missing Data mod.vi ‏22 KB

Similar Messages

  • Deleting  rows with missing values in field in start routine of update rule

    Hello experts,
    how can I delet rows with missing values in a specific field in the start routine of update rules?
    I think ABAP code should look something like this:
    delete ...  from DATA_PACKAGE where Z_NO = ''.
    thanks in advance for any suggestions!
    hiza

    Write:
    delete data_package where field = value.
    Hope it helps.
    Regards

  • COPA document with missing values

    Hi Experts,
    after posting in SD (debit memo rebilling) a CO-PA document is created, but with missing value for value field 'interest'. In transaction KE4I, there is correct assignment of SD condition to value field
    'interest'. We use cost based CO-PA.
    We have tried to Check Value Flow in Billing Document Transfer - transaction KEAT and also to Simulate billing document transfer with KE4ST, but in these transactions everything seems correct.
    Can you please write any other reconcilliation reports I can try for this?
    Which customizing do I have to check?
    Are there any OSS notes for this problem?
    Thank you very much for your help,
    Michal

    Hi,
    The problem was solved using OSS note 20254.
    Best regards,
    Michal

  • Eliminating duplicates in arraycollection with multiple values in them

    I have an array collection with 4 values in it. It doesnt have a key but each row in the array collection has to be different.
    Could someone help me out with the code to eliminate all the duplicates?
    I have the array collection
    anchorGroupDetailAC  and each object in the array collection has anchorGroupId, assignmentStep, dimensionMasterId and dimensionValueId.
    i need each cell in the anchorGroupDetail to be unique. I found some examples online that talk about using one element in the object to be a key but how can we do it for all the 4 elements combined?
    Your help is greatly appreciated.
    Thank you
    Nikhil

            private function cc(event:FlexEvent) : void {
                for(var i:int = 0; i < 4; i++) {
                    var obj:Object = new Object();
                    if(i < 3) {
                        obj['anchorGroupId'] = i;
                        obj['assignmentStep'] = ("step" + i);
                        obj['dimensionMasterId'] = (i + 1) * 2;
                        obj['dimensionValueId'] = (i + 1) * 3;
                    } else {
                        obj['anchorGroupId'] = i - 1;
                        obj['assignmentStep'] = ("step" + (i - 1));
                        obj['dimensionMasterId'] = i * 2;
                        obj['dimensionValueId'] = i * 3;
                    _test.addItem(obj);
            private function filter() : void {
                for(var i:int = 0; i < _test.length; i++) {
                    if(getNbrTimesInList(Object(_test.getItemAt(i))) > 1) {
                        _test.removeItemAt(i);
                        i--;
            private function getNbrTimesInList(object:Object) : int {
                var nbr:int = 0;
                for each (var obj:Object in _test) {
                    if(   obj['anchorGroupId'] == object['anchorGroupId']
                        && obj['assignmentStep'] == object['assignmentStep']
                        && obj['dimensionMasterId'] == object['dimensionMasterId']
                        && obj['dimensionValueId'] == object['dimensionValueId'] ) {
                        nbr++;
                return nbr;
            private var _test:ArrayCollection = new ArrayCollection();
            private function handleClick():void {
                trace("collection before filter: " + ObjectUtil.toString(_test));
                filter();
                trace("collection after filter: " + ObjectUtil.toString(_test));
    Trace Result:
    collection before filter: (mx.collections::ArrayCollection)#0
      filterFunction = (null)
      length = 4
      list = (mx.collections::ArrayList)#1
        length = 4
        source = (Array)#2
          [0] (Object)#3
            anchorGroupId = 0
            assignmentStep = "step0"
            dimensionMasterId = 2
            dimensionValueId = 3
          [1] (Object)#4
            anchorGroupId = 1
            assignmentStep = "step1"
            dimensionMasterId = 4
            dimensionValueId = 6
          [2] (Object)#5
            anchorGroupId = 2
            assignmentStep = "step2"
            dimensionMasterId = 6
            dimensionValueId = 9
          [3] (Object)#6
            anchorGroupId = 2
            assignmentStep = "step2"
            dimensionMasterId = 6
            dimensionValueId = 9
        uid = "DC1E4607-4E77-90E9-D189-D87022CF6189"
      sort = (null)
      source = (Array)#2
    collection after filter: (mx.collections::ArrayCollection)#0
      filterFunction = (null)
      length = 3
      list = (mx.collections::ArrayList)#1
        length = 3
        source = (Array)#2
          [0] (Object)#3
            anchorGroupId = 0
            assignmentStep = "step0"
            dimensionMasterId = 2
            dimensionValueId = 3
          [1] (Object)#4
            anchorGroupId = 1
            assignmentStep = "step1"
            dimensionMasterId = 4
            dimensionValueId = 6
          [2] (Object)#5
            anchorGroupId = 2
            assignmentStep = "step2"
            dimensionMasterId = 6
            dimensionValueId = 9
        uid = "DC1E4607-4E77-90E9-D189-D87022CF6189"
      sort = (null)
      source = (Array)#2
    This is not pretty...but it works.
    T.K.

  • Can I scan  line art (B&W drawings) into Elements and then fill them with color?

    In Photoshop CS I could do this. Can this be done with Elements? All I see under "IMPORT" is importing from a camera. Can I import something I have scanned as well?

    I see you’re in Tiger and I’m running Leopard. If I remember correctly, in Tiger it’s something like Print > PDF > Quartz Filter > Gray Tone. In Leopard, it”s
    Print > PDF > Open PDF in Preview > Save As > Quartz Filter > Gray Tone.
    If Quartz Filter doesn’t directly follow PDF there may be a menu that says Filter and then Quartz Filter. My memory, to quote Henric, is “porous.”
    Walt

  • ORA-01400 - not null column with default value and item with authorization

    I've searched - I would think someone has run into this. APEX 3.0.0.00.20 - I've created a simple form on a table. One of the column is a not null column with a default value. I have a select list on that item, but it has security on it - authorization scheme. So, it checks the user and if that user isn't of the right role, it will not even display that item. However, APEX appears to still send in the column in its sql! So, the default value is useless, it sends in null each time. Even if I set the default at the Item level, I get null. Argg. That's got to be a bug...
    In debug, I do not see the item listed at all. It's not used. That's fine - but why is it trying to insert the value? I would think it would leave it off??? I think because the item is associated with a database column. But, getting around this is ugly. Having to create a hidden item for each one, and then check to see if I need to take the list value... horrible. Any way to get around this???

    I should add - I guess I can always put my own custom process in to replace the DML. Just seems like a simple thing - if the value doesn't appear on the debug, isn't set with any default value... don't include it in the DML.

  • Print photos with date stamp on them with a HP 6600

    Does anyone know if the HP6600 printer is capable of printing photos with the date stamp on them?

    Hello @Joseph_TX ,
    Welcome to the HP forums.
    I understand that you want to know if a way to configure the HP ePrint.
    I would like to help.
    Unfortunately there is no way to reconfigure the ePrint.
    When you send an email to the printers ePrint address, it will print the body of the email and any attachments.
    It will not print the subject line or who the email is from.
    Also the ePrint feature will not resize pictures sent.
    What you send is what you get.
    You can get more control over ePrint with the ePrint app, but I don't believe that will suit your needs.
    Please call our Cloud Services at 855-785-2777.
    If you live outside the US/Canada Region, please click the link below to get the support number for your region. http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    Hours:
    Mon-Fri. 8am - 11pm, Sat. 9am-8pm - EST
    Mon-Fri. 7am - 10pm, Sat. 8am-7pm - CST
    Mon-Fri. 6am - 9pm, Sat. 7am-6pm - MST
    Mon-Fri. 5am - 8pm, Sat. 6am-5pm - PST
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • Iam using a table in numbers to plot daily graph lines. If I fill a cell with a text box  at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is tho

    I am using a table in Numbers to plot daily graph lines. Mood swings of how I am on the day, i"m a depressive.
    If I fill a cell with a step box at say zero it plots the graph. I can't actually set the cell value until the actual day but the graph plots it at zero when I don't want it to plot anything. Is there a work around. so thatbgraph only plots on the day?

    The answer is (sort of) in your subject, but edited out of the problem statement in the body of your message.
    When you use a stepper or a slider, the value in the cell is always numeric, and is always placed on the chart if that cell is included in the range graphed by the chart.
    But if you use a pop-up menu cell, you can specify numeric or text values in the list of choices for in the menu. Numeric values will be shown on the chart. Text values will not.
    For the example, the values list for the pop-up menu was:
    5
    3
    1
    Choose
    -1
    -3
    -5
    The first pop-up was set to display Choose, then the cell was filled down the rest of the column. Any text value (including a single space, if you want the cell to appear blank) may be used instead of Choose.
    For charts with negative Y values, the X axis will not automatically appear at Y=0. If your value set will include negative values, I would suggest setting the Y axis maximum and minimum to the maximum and minimum values on your menu list, rather than letting Numbers decide what range to include on the chart. Place a line shape across the chart at the zero level, and choose to NOT show the X axis.
    Regards,
    Barry

  • Fill array with Hue values

    Trying to build (simple) color palette, but keep getting ArrayIndexOutOfBoundsException: 0 when trying to fill the array with Hue values (Saturation and Brightness remain 100%):
    private Color[] hsb = new Color[numberOfCircles];
    float h=0;
    float raise=(1.f/numberOfCircles);
    for (int i=0; i<stKrogcev; i++) {
        hsb=Color.getHSBColor(h,1.0f,1.0f); //getHSBColor: "Creates a Color object based on the specified values for the HSB color model."
    h+=raise;
    }What am I doing wrong?
    What other way could you fill array (Color, int, float, ...) with Hue values?
    This is what I have thus far (only colors missing; not sure whether Sun supports images):  [http://www.shrani.si/f/1G/uM/v29MKIC/palette.jpg]. First three columns in the right-hand table are awaiting RGB values respectively, the last column gets Hue value.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    pbrockway2, numberOfCircles (or stKrogcev ) is an int, and is NOT zero. That Color[] hsb is zero.
    import javax.swing.*;
    import java.awt.*;
    public class BarvnaPaleta {
         public static void main (String[] args) {
              System.out.print("Stevilo krogcev: ");
              int n = BranjePodatkov.preberiInt(); // BranjePodatkov: just some custom class for reading input
              Okno o = new Okno(n);
              o.setVisible(true);
    class Okno extends JFrame {
         RisalnaPlosca risalna;
         public Okno(int n) {
              setTitle("Barvna Paleta");
              setSize(1200,900);
              setLocation(0,0);
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              risalna = new RisalnaPlosca(n);
              add(risalna);
    class RisalnaPlosca extends JPanel {
         private final int ROB = 300;     
         int     stKrogcev;
         private int izhX, izhY;     
         private int     r1;
         private int     sirina = 60;     
         private int     visina = 20;     
         private double x, y, r2, r3;     
         private double vmesniKot;
         private double polovicaVmesnegaKota;
         //the much needed color arrays
         public Color[] hsb = new Color[stKrogcev];     
         private String[] red = new String[stKrogcev];     
         private String[] green = new String[stKrogcev];     
         private String[] blue = new String[stKrogcev];     
         public RisalnaPlosca(int n) { //constructor     
              stKrogcev = n;
              setBackground(Color.white);
         public void paintComponent(Graphics g) {
              super.paintComponent(g);
              izhX = getWidth()/2 -r1;
              izhY = getHeight()/2 -r1;          
              vmesniKot=(2*Math.PI/stKrogcev);
              polovicaVmesnegaKota=(vmesniKot)/2;          
              r1=getHeight();
              r3=(r1*Math.sin(polovicaVmesnegaKota))/(1+Math.sin(polovicaVmesnegaKota));
              r2=r1-r3;                    
              narisiKrog(g);
              napolniHSB(g); //  LINE 53
              narisiKrogce(g);
         private void narisiKrog(Graphics g) { //draw the BIG Circle
              g.setColor(Color.BLACK);
              g.drawOval(0, 0, r1, r1);
         private void narisiKrogce(Graphics g) { //draw small circles (as many as user wants, max. is 256 of Hue values!
              for(int i=0; i<stKrogcev; i++) {
                   x=(r2/2)*(Math.cos(vmesniKot*i)+1);
                   y=(r2/2)*(Math.sin(vmesniKot*i)+1);
                           //can't use below two because of the "fillHSB"=="napolniHSB" method not working
                   //Color c = new Color(Integer.parseInt(red),Integer.parseInt(green[i]),Integer.parseInt(blue[i]));
                   //g.setColor(c);
                   g.drawOval((int)x, (int)y, (int)r3, (int)r3);
                   narisiLegendo((int)x,(int)y, i, g); //draw a legend (last method)
         private void napolniHSB(Graphics g) { //fillHSB method
    float h=0, raise=1.0f/stKrogcev;
    for (int i=0; i<stKrogcev; i++) {
    hsb[i]=Color.getHSBColor(h,1.0f,1.0f); // LINE 75
    red[i]=Integer.toString(hsb[i].getRed()); // this and below two for converting HSB/HSL into RGB
    green[i]=Integer.toString(hsb[i].getGreen());
    blue[i]=Integer.toString(hsb[i].getBlue());
    h+=raise;
         private void narisiLegendo(int x, int y, int i, Graphics g) { //draw a legend, i.e. 4 right columns
    //can't use drawString as there are no color arrays (yet)
                   g.drawLine((int)(x+r3/2),(int)(y+r3/2),getWidth()-ROB,(visina+i*visina)+visina/2);
                   g.drawRect(getWidth()-ROB, (visina+i*visina), sirina, visina); //Red
                   //g.drawString(red[i], getWidth()-ROB, (visina+i*visina));
                   g.drawRect(getWidth()-ROB+sirina, (visina+i*visina), sirina, visina); //Green
                   //g.drawString(green[i], getWidth()-ROB, (visina+i*visina));
                   g.drawRect(getWidth()-ROB+2*sirina, (visina+i*visina), sirina, visina); //Blue
                   //g.drawString(blue[i], getWidth()-ROB, (visina+i*visina));
                   g.drawRect(getWidth()-ROB+3*sirina, (visina+i*visina), sirina, visina); //Hue
                   //g.drawString(, getWidth()-ROB, (visina+i*visina));

  • S_DOKU_AUT is missing with field values: dummy .

    Hello,
    A user wants to upload a document and failed. SU53 says:
    S_DOKU_AUT is missing with field values: <dummy>.
    What need to be done to resolve this issue.
    Edited by: vijay kumar on May 3, 2009 12:47 AM

    I am having the same problem as Vijay in my database.
    I am hung up when I try to change a standard SAP document using transaction CV02N.  The system tests to see if I have access to object S_DOKU_ACT with the following parameters:
    DOKU_ACT value <DUMMY>
    DOKU_DEVCL value <DUMMY>
    DOKU_MODE value <DUMMY>
    I have found that this object with these keys has to do with creating Online Documentation within SAP.  The documents that I am working on are standard SAP documents which were defined using standard DMS customizing steps.  As far as I know, they have nothing to do with online documentation, at least, I didn't customize them that way (not knowingly anyway).
    What could cause the system to want to test for an access right to these objects?
    Oddly enough, the test only occcurs for certain documents within the affected document type (not all documents).
    Regards,
    ---Ray

  • Clearing up accounts with zero / #missing values

    Hi all,
    Compliments of the season to everyone.
    I'm looking at cleaing up my cubes (created from Planning), I want to delete all the accounts that don't have any values in them for the last 5 years. Besides running a smartview extract, is there an easier way to check for accounts that contain either #Missing or Zero?
    Regards,
    Fraser

    Hi,
    For #missing values it's quite easy and efficient to use a smartview report, you only need to look at the top level of every aggregating dimension/hierarchy for each of the 5 years.
    Other possibility is to export every single data of the last 5 years into a SQL table, have another table contain the complete list of accounts, and use a SQL join to look for accounts with no data. Obviously the most precise method. Even if you have a big database, you will always have some dimensions that aggregate for sure so exporting the top level of those dimension should prevent you from obtaining billions and billions of SQL records.
    For zero values it could be a bit more tricky if you have accounts that are supposed for example amounts to be eliminated at higher levels, in that case they may equal 0 yet you need to preserve them, but that's application dependent.
    Thanks,
    JM

  • How to get minimal value from children with skip missing values?

    Hi,I would like to get minimum value from children, but I would like to skip missing.Minimal value from children works fine (see following formula):@MIN(@CHILDREN("member_name"));Minimal value with skip missing (see following formula) returns error:@MINSRANGE(SKIPMISSING,@CHILDREN("member_name"));Error message: "This function must be a macro".Question: How can I write a formule to get minimal value from children without missing values.What is a macro and how can I write it? If possible I would like to write formule instread of macro!Thanks,Grofaty

    Hi,I have found out solution:@MINS(SKIPMISSING,@CHILDREN "member_name")); No more help is needed.Thanks,Grofaty

  • HT3819 Bought new iMac & moved (or thought so) music from old PC to new Mac. Now several hundred songs are orphaned on old PC; , I can "see" them with both machines turned on & iTunes open. "Missing" songs show in iMac Shared folder. How do I move & retir

    Bought new iMac & moved (or thought I had) all of my music from the old PC to the new iMac. Have discovered several hundred songs are orphaned on old PC; I can "see" them with both machines turned on & iTunes open. "Missing" songs show in iMac itunes Shared folder. How do I move them all so I can then & retire the old PC?

    From things you are saying, such as "shared folder" and having both machines on, it doesn't sound to me like you truly moved the whole iTunes collection. 
    iTunes: How to move [or copy] your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    do not confuse moving your whole folder and library with moving just media files as in
    iTunes for Mac: Moving your iTunes Media folder - http://support.apple.com/kb/HT1449
    Quick answer if you let iTunes manage your music:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Start iTunes with the option key held down and guide it to the new location of the library.
    Macworld - How to transfer iTunes libraries between PC and Mac - http://www.macworld.com/article/46248/2005/08/shiftitunes.html

  • How to fill an empty cell with the value above

    Hello,
    Please help me on the following issue related to BEx query and it's output in BEx analyzer as well as on Web.
    I am trying to modify a query output where the empty cells are to be filled with the value in the above cell.
    e.g. there is a column for transaction number, and this transaction number is the same for three rows, so it turns out to be two empty cells and only appears as if the transaction number applies to the first row only.
    not sure how to paste screenshot or attach document but would love to provide more information if the above isn't suffice.
    Please advise on what and where to modify in BEx designer.
    Thank you for your help!

    Thanks a lot...yes, now it works in BEx Analyzer but for some reason doesn't work in the Web view.
    Any ideas why is that?
    Thanks again for your prompt help.
    Edited by: One Idea on Jan 15, 2009 12:17 AM

  • My hardrive keeping filling up with "other" files. How do I delete them and keep them from building back up?

    I am new to Apple/MacBook this year, so far I am just plain frustrated. My harddrive keeps filling up with "other" files and I dete them and they always come back from using apple mail. I have used tech support and filters but it still happens over and over. Any help here? I would SO appreciate it!

    Boot in safe mode by shutting down, then restarting and holding down the shift key, keeping it down until you see the Apple logo on the display. Safe mode is slow to boot and run.
    While in safe mode, use a tool such as the one linked below to explore your volume and find out what's taking up a lot of space:
    OmniDiskSweeper - Products - The Omni Group
    Don't launch any other applications. After completing this test, and deleting some files, reboot as usual (not in safe mode.)

Maybe you are looking for

  • Importing to iphoto to retain extension in filename

    Currently my iPhoto is setup to reference files from their original location (ie, not copy to iPhoto library) when importing files form a folder located on my HD. When I drag and drop a folder located on my Mac HD, iPhoto puts the extension in the fi

  • BEA-010080 - Nullpointer Exception

    Hi,           We are using MDB [BMT] for dequing messages from foreign queue [Oracle advanced queue]. MDB is successfully dequeing messages with out any exceptions.           But sporadically we are seeing the following exception in the log file.    

  • Anyone having issues with their MacBook Pro Retina losing network connections?

    I have been having a problem in which my internet connection, which will be working normally prior to closing the Mac, will not reconnect after it's woken up.  I have to go so far as to reset my Time Machine AND Macbook to restore the connection.  I

  • How increase font size in PSE 9 help?

    Is there any way to increase the font size in PSE 9 help? On my Win7 system it is smaller and more difficult to read than the default fonts used by Windows. Thanks.

  • ICloud apple id update

    Hello, I can't update my icloud account on my mac, It is using my old apple id that doesn't exist anymore. It also won't let me update my personal info. Thank you