Gap at the beginning of the XY graph?

Hey there,

It's basically the way I learned to build graphs XY. Works perfectly fine, with the exception of the gap at the beginning which is of variable size that changes with the time, but never goes away. Can someone tell me where it comes from and perhaps how get rid of?

Good day.

Its there because of the way the x axis is scaling. You have turned on AutoScaling? Is loose or off?

Mike...

Tags: NI Software

Similar Questions

  • How to synchronize the start time in the waveform graph

    Hi all

    I just find a solution in the forum to select the data you want in a grap of waveform with cursors, however, I don't know how to synchronize the time of beginning of waveform for the second graph. How can I extract start time of the waveform with the index data?

    Something like that?  It is a bit gross, but is what I think you're asking, should be able to use it as a starting point.

    The Max - Min is to make sure that the cursor is always valid.

  • Gaps in the historical charts

    I feel the gaps in historical performance graphs (live graphics are OK), overall of all hosts in my environment. Any ideas what could cause this?

    CHEK if helps:

    VMware KB: Troubleshooting of gaps in the data of performance or performance of missing data in vCenter Server

    VMware KB: vCenter Server shows gaps in the performance data for some ESX/ESXi hosts

  • Strange gaps in the header and footer

    Im getting gaps in the header and the footer on some of my pages.  Sometimes, the gaps are filled with the background color of the column and other times they are the color of the body that is even stranger.  An example would be http://www.mojogar.com/pcRepair.aspx .  In IE8, I get a gap on the top but not the bottom.  In Firefox3, the gap is on the bottom and not the top.  ???

    This is the page for markup;  (followed by the CSS)

    < % @ Page Language = "VB" ContentType = "text/html" percent >
    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    "< html xmlns ="http://www.w3.org/1999/xhtml"> <!-InstanceBegin template="/Templates/masterOne.dwt.aspx ' codeOutsideHTMLIsLocked = 'false'->
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    <!-InstanceBeginEditable name = "doctitle"-->
    < title > Untitled Document < /title >
    <! - InstanceEndEditable - >
    <!-InstanceBeginEditable name = "head"->
    <! - InstanceEndEditable - >
    < link href = "thrColHybHdr.css" rel = "stylesheet" type = "text/css" / > <!-[if IE] > "
    < style type = "text/css" >
    / * place patches css for all versions of Internet Explorer in this conditional comment * /.
    .thrColHybHdr # sidebar1″, .thrColHybHdr #sidebar2 {padding-top: 30px ;}}
    .thrColHybHdr #mainContent {zoom: 1; padding-top: 15px ;}}
    / * the owner above zoom gives IE the hasLayout property, avoid several bugs * /.
    < / style >
    <! [endif]-->
    < script src = "SpryAssets/SpryMenuBar.js" type = "text/javascript" > < / script > "
    < link href = "SpryAssets/SpryMenuBarVertical.css" rel = "stylesheet" type = "text/css" / > "
    < link href = "SpryAssets/SpryMenuBarHorizontal.css" rel = "stylesheet" type = "text/css" / > "
    < / head >

    < body class = "thrColHybHdr" >


    < div id = "container" >
    < div id = "header" >
    <!-end #header->
    < div class = "fltlft" > < img src = "images/mojoLogoSmall.png" alt = "digital Mojogar design & amp; PC repair' width = '172' height = '41' border = '0' well = "#Map" / >
    < name of the map 'Map' id = 'Card' = >
    < area shape = "rect" coords = "2,2,172,39" href = "default.html" target = "_self" alt = "House Mojogar" / > "
    < / map >
    < / div >
    < div class = "fltrt" > <!-InstanceBeginEditable name = "HeadRight"-> HeadRight <! - InstanceEndEditable - >

    < / div >
    < div class = "MenuVertDiv" >
    < ul id = "MenuBar2" class = "MenuBarHorizontal" >
    < li > < a class = "MenuBarItemSubmenu" href = "#" > < /a > Design
    < ul >
    < li > < a href = "webDesign.aspx" > Web < /a > < /li > design ""
    < li > < a href = "webDev.aspx" > creating websites < /a > < /li >
    < li > < a href = "logo.aspx" > creation of Logo < /a > < /li >
    < /ul >
    < /li >
    < li > < a href = "#" class = "MenuBarItemSubmenu" > < /a > Animation
    < ul >
    < li > < a href = "webDev.aspx" > Animation Flash < /a > < /li > ""
    < /ul >
    < /li >
    < li > < a class = "MenuBarItemSubmenu" href = "#" > Support < /a >
    < ul >
    < li > < a href = "pcRepair.aspx" > PC Repair < /a > < /li > ""
    < li > < a href = "virus.aspx" > Virus < /a > < /li > ""
    < li > < a href = "email.aspx" > Email < /a > < /li > ""
    < li > < a href = "backup.aspx" > backup data < /a > < /li > ""
    < li > < a href = "wireless.aspx" > wireless < /a > < /li > ""
    < li > < a href = "software.aspx" > software < /a > < /li >
    < li > < a href = "hardwareInstall.aspx" > hardware < /a > < /li > ""
    < li > < a href = "server.aspx" > repair of server < /a > < /li > ""
    < li > < a href = "busConsult.aspx" > Consulting < /a > < /li > ""
    < /ul >
    < /li >
    < li > < a href = "contact.aspx" > Contact < /a > < /li > ""
    < /ul >
    < / div >
    <! - end header - > < / div >

    < div class = "masterBackground" >
    < div id = 'sidebar2' >
    <!-InstanceBeginEditable name = "rightSidebar"->
    < div id = 'sidebar2' >
    < h4 > when your computer is having problems, have a professional to look over your system to update or repair your operating system, programs installed verification and search for viruses and other malware. < / h4 >
    <!-end #sidebar2->
    < / div >
    <! - InstanceEndEditable - >
    <!-end #sidebar2->
    < / div >

    < div id = "mainContent" >
    <!-InstanceBeginEditable name = "main"->
    < div id = "mainContent" >
    < div class = "MarginTopZero" >
    < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase ="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9, 0,28,0" width = "580" height = "300" title = "Computer Support" >
    "< param name ="movie"value="images/flash/PCCollage.swf "/ >
    < param name = "quality" value = "high" / >
    < param name = "wmode" value = "opaque" / >
    "" < embed src="images/flash/PCCollage.swf" quality = "high" wmode = "opaque" pluginspage = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type = "application/x-shockwave-flash" width = "580" height = "300" > < / embed > "
    < / object > < / div >
    < h2 > don't not feel lonely when your computer stops.  Computer problems can leave you in the dark about what is wrong.  Help is a call away. < / h2 >
    < h4 > our repair and tune-up service consists of the following: < / h4 >
    update the < /li > < li > operating systems
    updates of operating system < h5 > help the security of the computer and can add features that the manufacturer has worked to make life easier end-user.  Updates as often as every week couple come out on some operating systems. < / h5 >
    audit of programs < li > < /li >
    < h5 > many < a href = "software.aspx" title = "go to our software page" target = "_self" > < /a > applications added over time and can slow down the performance of any PC taking the resources processor and memory, not to mention the hard drive space. " < / h5 >
    < li > Security overlook < /li >
    < h5 > < a href = "virus.aspx" target = "_self" > < /a > anti-virus definitions must be kept up to date. "  Malware, spyware, Trojans and new viruses are always introduced in nature (the internet is a jungle).  Antivirus applications must be updated as well.  Subscriptions to paid suppliers can expire and updates may be trolling for months or even years (I saw happen). < / h5 >
    < li > anti-virus fine tuning < /li >
    < h5 > a lot of antivirus programs is swollen applications and will not stop annoying the user with pop ups and information.  Many users also never know when and how often their antivirus scans. < / h5 >
    browser < /li > < li > configuration
    < h5 > there are literally hundreds of options in the settings of browsers for security and optimization.  Fine these beautiful can in some cases increase surfing speed. < / h5 >
    < li > implementation market & off to the low value < /li >
    < h5 > if your like most people, your PC begins never soon enough.  Get a check full of programs and services which start with your computer and optimize them to increase speed. < / h5 >
    <!-end #mainContent->
    < / div >
    <! - InstanceEndEditable - >

    <!-end #mainContent->
    < / div >
    <! - end masterBackground - > < / div >

    <!-this element of compensation should immediately follow the #mainContent div in order to force the #container div to contain all the child-> fleet
    < %--< br class = 'clearfloat' / >
    -% >
    < div id = "footer" >
    Copyright Mojogar 2010 < /p > < p >
    <!-end #footer--> < / div >
    <!-end #container--> < / div >
    < script type = "text/javascript" >
    <!--
    var MenuBar2 = new Spry.Widget.MenuBar ("MenuBar2", {imgDown: "..."}) "" / SpryAssets/SpryMenuBarDownHover.gif ', imgRight: ".. ({"/ SpryAssets/SpryMenuBarRightHover.gif"});
    ->
    < /script >
    < / body >
    <! - InstanceEnd - > < / html >

    CSS:


    @charset "utf-8";

    {body
    margin: 0; / * It is advisable to zero, the margin and the filling of the body to hold element has a different default browser * /.
    padding: 0;
    text-align: center; / * This centers the container in IE 5 * browsers. The text is then set left aligned by default in the #container selector * /.
    color: #9FEE00;
    do-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    do-size: 100%;
    background-color: #333;
    }

    H1 {}
    font size: xx-large.
    Color: #000;
    }

    H2 {}
    font-size: XL;
    }

    H3 {}
    font size: large;
    }

    H4 {}
    font-size: medium;
    }

    H5 {}
    font size: small;
    }

    H6 {}
    do-size: x-small;
    }
    {p}
    font size: xx-small;
    }
    H1, h2 {}
    padding-top: 20px;
    padding-right: 10px;
    padding-bottom: 4px;
    padding-left: 10px;
    }

    H3, h4, h5, h6 {p}
    padding-top: 3px;
    padding-right: 5px;
    padding-bottom: 3px;
    padding-left: 5px;
    }


    Li {}
    make-weight: bold;
    }
    UL {}
    list-style-type: decimal;
    }
    {of the ol
    make-weight: bold;
    }
    a {}
    }


    a: link {}
    color: #FFF;
    }
    a: hover {}
    Color: #333;
    background-color: #6C8CD5;
    }
    a: active {}
    Color: #F00;
    }
    a: visited {}
    color: #FF4848;
    }


    / * This hybrid layout tips
    1. from the lateral columns sizing based on the em is based on the user's default font size, you can be sure graphics in the columns accordingly. Built correctly, it is more accessible to those who need larger font sizes, since the width of the columns remains proportionate. If this is not desirable in your design, just change the width of a pixel size and do not forget to change the margins on the div #mainContent accordingly.
    2. given that the sizing of the side columns in this layout are based on the font size of 100% in the body element, if you decrease the overall size of the text by using a font size: 80% on the body element or the #container, do not forget that the column widths will reduce proportionally. You can increase the size of the margins on the side of the #mainContent div, and their widths to compensate for this.
    3. If the sizing of fonts is changed in different quantities on each div instead of on the overall design (ie: #sidebar1 is a font size of 70% and #mainContent has a font size of 85%), this will change proportionally each of the overall size of divs. You can adjust the base on your final sizing of fonts.
    4. the #container div is not necessary for this layout to the width of 100%. You can use to create columns of fake or to limit the width of the layout.
    5. it is not necessary to have the width of 100% on the #container div since, by nature, a div takes up 100% of the available space. Therefore, here, if you want to reduce the size of the global container - leaving perhaps a bit of margin on each side - is already available for adjustment.
    */
    .thrColHybHdr #container {}
    Width: 780px;
    / * margin: 0 auto;  the margins to the center of the page if necessary (in conjunction with a width) auto * /.
    text-align: left;
    padding: 0px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    left margin: auto;
    }

    .thrColHybHdr #header {}
    background-color: #C9F76F;
    height: 100%;
    Width: 780px;
    margin: 0px;
    padding: 0px;
    }
    .thrColHybHdr #header h1 {}
    margin: 0;
    padding: 0px;
    }

    / * Sidebar1″ tips:
    1 be aware that if you set a value for the font size on this div, the width of the div will be adjusted accordingly.
    2. as we work in ems, it is preferable not to use the filling in the sidebar itself. It will be added to the width for browsers compatible standards creating a real unknown width.
    3. the space between the wall of the div and the items it contains can be created by placing a margin left and right on these items as seen in the rule ".thrColHybHdr #sidebar1 p.
    */
    {.thrColHybHdr #sidebar1}
    Width: 13em;
    border-top-width: thick;
    border-top-style: solid;
    border-bottom-color: #C06;
    float: left;
    height: auto;
    }
    {.thrColHybHdr #sidebar2}
    Width: 200px;
    text-align: center;
    margin: 0px;
    padding: 0px;
    float: right;
    }
    H3 *.thrColHybHdr # sidebar1″, p.. thrColHybHdr # sidebar1″, .thrColHybHdr #sidebar2 .thrColHybHdr #sidebar2 h3 {}
    left margin: 0px; * / / * the left and right margins should be to all of the items that will be placed in the side columns * /.
    / * margin-right: 0px;
    }
    */
    / * MainContent tips:
    1. If you give this div #mainContent a value of different size of the div # sidebar1″, the margins of the #mainContent div will be based on the font size and the width of the div #sidebar1 depend on the size of the font. You can adjust the values of these divs.
    2. the space between the mainContent and sidebar1″ is created with the left on the mainContent div margin regardless of how content div the sidebar1″ contains, the space of the columns will remain. You can remove the left margin if you want the #mainContent div text to fill the space of #sidebar1 when the content of #sidebar1 is complete.
    3. to avoid falling of float, you may have to test to determine the size of the image/approximate maximum element because this provision is based on the calibration of fonts the user combined with the values that you set. However, if the user has their browser game lower than normal font size, less space will be available in the #mainContent div that you see on the test.
    4. in the Internet Explorer conditional comment below, the zoom property is used to give the mainContent "hasLayout". This avoids several specific IE bugs that may occur.
    */
    {.thrColHybHdr #mainContent
    text-align: center;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    left margin: 0px;
    Width: 580px;
    background-color: #2A 4480;
    color: #C9F76F;
    padding: 0px;
    }
    . {MarginTopZero}
    margin: 0px;
    padding: 0px;
    }

    {.busConslt}
    height: 600px;
    Width: 800px;
    }

    idea {}
    height: auto;
    Width: 100%;
    }


    .thrColHybHdr #footer {}
    padding: 0;
    background-color: #C9F76F;
    margin: 0px;
    }
    .thrColHybHdr #footer p {}
    margin: 0; / * zero setting the margins of the first element in the footer will avoid the possibility of the collapse of the margin - a space between the div tags * /.
    padding: 0px; / * padding on that element will create space, just as it would the margin, free margin collapse question * /.
    Color: #000;
    }


    / * Various classes for reuse * /.
    .fltrt {/ * this class can be used to float right to the item in your page.} The floating element must precede the element it should be next to the page. */
    float: right;
    }
    .fltlft {/ * this class can be used to float an element on your page to the left * /}
    float: left;
    margin-right: 0px;
    padding-left: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    }
    .clearfloat {/ * this class must be placed on an element div or break and should be the last item before closing a container should completely contain a float * /}
    Clear: both;
    height: 0;
    }
    {#defMainLft}
    Width: 49%;
    float: left;
    text-align: center;
    }
    {#defMainRt}
    Width: 49%;
    float: right;
    text-align: center;
    }
    {.absolRgt}
    position: absolute;
    Top: 0px;
    right: 0px;
    }
    {.relRgt}
    position: relative;
    Top: 0px;
    right: 0px;
    }
    {.defFull}
    position: relative;
    height: 263px;
    Width: 100%;
    border-bottom-width: medium;
    border-bottom-style: solid;
    border-bottom-color: #ff4900;
    }
    {.absolLft}
    position: absolute;
    Top: 0px;
    left: 0px;
    }
    {.defFullTop}
    position: relative;
    Width: 600px;
    border-top-width: thick;
    border-top-style: solid;
    border-bottom-color: #000;
    margin: 0px;
    }
    {.tuneUpTop}
    background-color: #000;
    color: #FFF;
    margin: 0px;
    padding: 0px;
    }
    {.contactForm}
    Width: 470px;
    height: auto;
    left: auto;
    right: auto;
    }
    {.borderRight}
    border: medium solid #A62F00;
    margin-top: 0px;
    margin-bottom: 0px;
    left margin: 0px;
    }
    . {MenuVertDiv}
    margin-bottom: 0px;
    Clear: both;
    height: 38px;
    background-color: #A62F00;
    Width: 100%;
    }
    {.masterBackground}
    background-color: #BF5930;
    margin: 0px;
    padding: 0px;
    }

    Your HTML code contains conditional comments for IE.  Try to reduce or remove the extra padding and see if that helps.

    / * place patches css for all versions of Internet Explorer in this conditional comment * /.
    .thrColHybHdr # sidebar1″, .thrColHybHdr #sidebar2 {padding-top: 30px ;}}
    .thrColHybHdr #mainContent {zoom: 1; padding-top: 15px ;}}
    / * the owner above zoom gives IE the hasLayout property, avoid several bugs * /.

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB
    http://ALT-Web.blogspot.com

  • gaps in the planning

    I guess it's something for a nice piece of sql analytic. Is this possible in 1 sql Rob?

    I have a table that contains a list of items to be discussed in a meeting place, while in the same room. For some meetings that a speaker is invited, these meetings have a fixed start time. All meetings have a fixed duration in minutes. Days start with the opening and ending with close. How to generate the start times of the elements that have no defined fixed start time?

    input data are as follows:

    create table sschedule)
    Article varchar2 (10)
    , varchar2 (30) days
    , fixed_start_time varchar2 (5)
    number of minutes
    );

    insert into sschedule (agenda, minutes, days, fixed_start_time) values ('lunch', 'Mon, Mar, sea, game, Fri', 12:00 ', 60);
    insert into sschedule (agenda, minutes, days, fixed_start_time) values ('a', "ma, fr", 10:00 ', 60);
    insert into sschedule (agenda, minutes, days, fixed_start_time) values ('b', "Mon, sea", null, 120);
    insert into sschedule (agenda, minutes, days, fixed_start_time) values ('opening', 'Mon, Mar, sea, game, Fri',' 08:55 ', 5);
    insert into sschedule (agenda, minutes, days, fixed_start_time) values ("close', 'Mon, Mar, sea, game" 20:00 ', 5);
    insert into sschedule (agenda, minutes, days, fixed_start_time) values ('close', 'Fri', 16:00 ', 5);
    insert into sschedule (agenda, day, fixed_start_time, minutes) values ('c', 'Sun, sea, Fri", null, 20);
    insert into sschedule (agenda, day, fixed_start_time, minutes) values (', 'Sun, sea, Fri", null, 20);
    insert into sschedule (agenda, minutes, days, fixed_start_time) values ('dinner', "Mon, Mar, sea, game," 18:00 ', 60);
    insert into sschedule (agenda, minutes, days, fixed_start_time) values ('e', 'Mar, game, Fri", null, 40);
    insert into sschedule (agenda, minutes, days, fixed_start_time) values ('speech', 'Mon',' 09:00 ', 120);
    insert into sschedule (agenda, minutes, days, fixed_start_time) values ("bye", "Fri", 14:00 ', 120);
    insert into sschedule (agenda, minutes, days, fixed_start_time) values ('f', 'Mar, game, Fri", null, 40);
    insert into sschedule (agenda, minutes, days, fixed_start_time) values ('g', "Mon, sea", null, 120);

    on Friday, this gives:
    MINUTES OF FIXED POINT
    ---------- ----- ----------
    opening at 08:55 5
    at 10:00 60
    lunch from 12:00 60
    to goodbye 14:00 120
    close 16:00 5
    c               20
    d               20
    e               40
    f               40

    e may start at 09:00 the gap between opening and a.
    c can be started at 09:40 the gap between e and a.
    f may start at 11:00 the gap between an and the lunch.
    d may start at 11:40 the gap between the f and the lunch.

    most combinations are very legal, as long as the fixed_start_times are in the spotlight.
    How can this list be generated in 1 sql?
    When one day becomes overloaded elements that fall must get something like "does not fit" to signal that it is too busy that day.

    Thank you
    Ronald.

    Ronald Rood wrote:
    Is this possible in 1 sql Rob?

    Of course, Ronald ;-)

    We didn't describe what algorithm to use, so I used a very simple. It justs awards points at the beginning of the time slots open, the largest that those assigned first of all, for the larger gaps first.

    SQL> with schedule_normalized as
      2  ( select item
      3         , cast(days as varchar2(3)) day
      4         , to_date(fixed_start_time,'hh24:mi') start_time
      5         , minutes
      6         , to_date(fixed_start_time,'hh24:mi')
      7           + numtodsinterval(minutes,'minute') end_time
      8      from sschedule
      9     model
     10           return updated rows
     11           partition by (item,fixed_start_time,minutes)
     12           dimension by (0 i)
     13           measures (days)
     14           ( days [for i from 1 to regexp_count(days[0],',') + 1 increment 1]
     15             = regexp_substr(days[0],'[^,]+',1,cv(i))
     16           )
     17  )
     18  select item
     19       , day
     20       , to_char(st,'hh24:mi') start_time
     21       , to_char(et,'hh24:mi') end_time
     22       , minutes
     23       , fit
     24    from schedule_normalized
     25   model
     26         partition by (day)
     27         dimension by
     28         ( row_number() over
     29           (partition by day order by start_time nulls first, minutes desc) rn
     30         )
     31         measures
     32         ( item
     33         , start_time st
     34         , minutes
     35         , end_time et
     36         , lead(start_time) over
     37           (partition by day order by start_time) next_start_time
     38         , count(nvl2(start_time,null,1)) over (partition by day) cnt
     39         , 0 rn_with_largest_gap
     40         , row_number() over
     41           (partition by day order by start_time nulls first, minutes desc) rnm
     42         , cast(null as varchar2(11)) fit
     43         )
     44         rules iterate(1000) until (iteration_number + 1 = cnt[1])
     45         ( rn_with_largest_gap[1]
     46           = max(rnm) keep
     47             (dense_rank last order by next_start_time - et nulls first)[any]
     48         , fit[iteration_number+1]
     49           = case
     50               when max(next_start_time - et)[any]
     51                  < minutes[iteration_number+1]/24/60
     52               then 'doesn''t fit'
     53             end
     54         , st[iteration_number+1]
     55           = case
     56               when fit[iteration_number+1] is null
     57               then et[rn_with_largest_gap[1]]
     58             end
     59         , et[iteration_number+1]
     60           = case
     61               when fit[iteration_number+1] is null
     62               then et[rn_with_largest_gap[1]]
     63                    + numtodsinterval(minutes[iteration_number+1],'minute')
     64             end
     65         , next_start_time[iteration_number+1]
     66           = case
     67               when fit[iteration_number+1] is null
     68               then next_start_time[rn_with_largest_gap[1]]
     69             end
     70         , next_start_time[rn_with_largest_gap[1]]
     71           = case
     72               when fit[iteration_number+1] is not null
     73               then next_start_time[rn_with_largest_gap[1]]
     74             end
     75         )
     76   order by decode(day,'mon',1,'tue',2,'wed',3,'thu',4,'fri',5)
     77       , start_time
     78  /
    
    ITEM       DAY START END_T    MINUTES FIT
    ---------- --- ----- ----- ---------- -----------
    opening    mon 08:55 09:00          5
    keynote    mon 09:00 11:00        120
    d          mon 11:00 11:20         20
    lunch      mon 12:00 13:00         60
    g          mon 13:00 15:00        120
    b          mon 15:00 17:00        120
    diner      mon 18:00 19:00         60
    c          mon 19:00 19:20         20
    close      mon 20:00 20:05          5
    opening    tue 08:55 09:00          5
    a          tue 10:00 11:00         60
    lunch      tue 12:00 13:00         60
    f          tue 13:00 13:40         40
    e          tue 13:40 14:20         40
    diner      tue 18:00 19:00         60
    close      tue 20:00 20:05          5
    opening    wed 08:55 09:00          5
    g          wed 09:00 11:00        120
    lunch      wed 12:00 13:00         60
    b          wed 13:00 15:00        120
    d          wed 15:00 15:20         20
    c          wed 15:20 15:40         20
    diner      wed 18:00 19:00         60
    close      wed 20:00 20:05          5
    opening    thu 08:55 09:00          5
    lunch      thu 12:00 13:00         60
    e          thu 13:00 13:40         40
    f          thu 13:40 14:20         40
    diner      thu 18:00 19:00         60
    close      thu 20:00 20:05          5
    opening    fri 08:55 09:00          5
    d          fri 09:00 09:20         20
    c          fri 09:20 09:40         20
    a          fri 10:00 11:00         60
    f          fri 11:00 11:40         40
    lunch      fri 12:00 13:00         60
    e          fri 13:00 13:40         40
    bye        fri 14:00 16:00        120
    close      fri 16:00 16:05          5
    
    39 rijen zijn geselecteerd.
    

    And an example with elements that do not match:

    SQL> insert into sschedule (item,days, fixed_start_time, minutes) values ('z', 'mon',null, 240);
    
    1 rij is aangemaakt.
    
    SQL> with schedule_normalized as
      2  ( select item
      3         , cast(days as varchar2(3)) day
      4         , to_date(fixed_start_time,'hh24:mi') start_time
      5         , minutes
      6         , to_date(fixed_start_time,'hh24:mi')
      7           + numtodsinterval(minutes,'minute') end_time
      8      from sschedule
      9     model
     10           return updated rows
     11           partition by (item,fixed_start_time,minutes)
     12           dimension by (0 i)
     13           measures (days)
     14           ( days [for i from 1 to regexp_count(days[0],',') + 1 increment 1]
     15             = regexp_substr(days[0],'[^,]+',1,cv(i))
     16           )
     17  )
     18  select item
     19       , day
     20       , to_char(st,'hh24:mi') start_time
     21       , to_char(et,'hh24:mi') end_time
     22       , minutes
     23       , fit
     24    from schedule_normalized
     25   model
     26         partition by (day)
     27         dimension by
     28         ( row_number() over
     29           (partition by day order by start_time nulls first, minutes desc) rn
     30         )
     31         measures
     32         ( item
     33         , start_time st
     34         , minutes
     35         , end_time et
     36         , lead(start_time) over
     37           (partition by day order by start_time) next_start_time
     38         , count(nvl2(start_time,null,1)) over (partition by day) cnt
     39         , 0 rn_with_largest_gap
     40         , row_number() over
     41           (partition by day order by start_time nulls first, minutes desc) rnm
     42         , cast(null as varchar2(11)) fit
     43         )
     44         rules iterate(1000) until (iteration_number + 1 = cnt[1])
     45         ( rn_with_largest_gap[1]
     46           = max(rnm) keep
     47             (dense_rank last order by next_start_time - et nulls first)[any]
     48         , fit[iteration_number+1]
     49           = case
     50               when max(next_start_time - et)[any]
     51                  < minutes[iteration_number+1]/24/60
     52               then 'doesn''t fit'
     53             end
     54         , st[iteration_number+1]
     55           = case
     56               when fit[iteration_number+1] is null
     57               then et[rn_with_largest_gap[1]]
     58             end
     59         , et[iteration_number+1]
     60           = case
     61               when fit[iteration_number+1] is null
     62               then et[rn_with_largest_gap[1]]
     63                    + numtodsinterval(minutes[iteration_number+1],'minute')
     64             end
     65         , next_start_time[iteration_number+1]
     66           = case
     67               when fit[iteration_number+1] is null
     68               then next_start_time[rn_with_largest_gap[1]]
     69             end
     70         , next_start_time[rn_with_largest_gap[1]]
     71           = case
     72               when fit[iteration_number+1] is not null
     73               then next_start_time[rn_with_largest_gap[1]]
     74             end
     75         )
     76   order by decode(day,'mon',1,'tue',2,'wed',3,'thu',4,'fri',5)
     77       , start_time
     78  /
    
    ITEM       DAY START END_T    MINUTES FIT
    ---------- --- ----- ----- ---------- -----------
    opening    mon 08:55 09:00          5
    keynote    mon 09:00 11:00        120
    c          mon 11:00 11:20         20
    lunch      mon 12:00 13:00         60
    z          mon 13:00 17:00        240
    diner      mon 18:00 19:00         60
    d          mon 19:00 19:20         20
    close      mon 20:00 20:05          5
    b          mon                    120 doesn't fit
    g          mon                    120 doesn't fit
    opening    tue 08:55 09:00          5
    a          tue 10:00 11:00         60
    lunch      tue 12:00 13:00         60
    e          tue 13:00 13:40         40
    f          tue 13:40 14:20         40
    diner      tue 18:00 19:00         60
    close      tue 20:00 20:05          5
    opening    wed 08:55 09:00          5
    b          wed 09:00 11:00        120
    lunch      wed 12:00 13:00         60
    g          wed 13:00 15:00        120
    c          wed 15:00 15:20         20
    d          wed 15:20 15:40         20
    diner      wed 18:00 19:00         60
    close      wed 20:00 20:05          5
    opening    thu 08:55 09:00          5
    lunch      thu 12:00 13:00         60
    e          thu 13:00 13:40         40
    f          thu 13:40 14:20         40
    diner      thu 18:00 19:00         60
    close      thu 20:00 20:05          5
    opening    fri 08:55 09:00          5
    c          fri 09:00 09:20         20
    d          fri 09:20 09:40         20
    a          fri 10:00 11:00         60
    f          fri 11:00 11:40         40
    lunch      fri 12:00 13:00         60
    e          fri 13:00 13:40         40
    bye        fri 14:00 16:00        120
    close      fri 16:00 16:05          5
    
    40 rijen zijn geselecteerd.
    

    Groet,
    Rob.

    Published by: Rob van Wijk on 17-dec-2008 23:59

    Removed a useless measure x

  • How to fill a gap in the UK?

    Greetings.  I'm working on a project of Garageband and I was wondering how we can bridge a gap between the two tracks.  I cut a part of the end of a runway and I want to connect it to the next track without changing all its place.  Hope it makes sense.  I could just find an answer to my research.  Thank you very much.

    There are different ways to do you project:

    Suppose that bar 15-17 is the range that you want to cut (bridge)

    Manually move

    Make sure that all parts are cut at bar 17. Now select all regions beyond this 17 bar and drag them to bar 15 as an entire selection

    Markers of the arrangement

    A more elegant solution is to the Arrangement of markers (follow ➤ display Arrangement track). However, this technique requires that you know how to use them. In the screenshot, I created a marker of Arrangement (named 'X') for the section I want to cut out (bar 15-17). If I delete this marker of Arrangement (select this Arrangement marker and press the delete key), that 'time' section is cut, which means that all regions after 17 bar are moved two bars to the left (without having to first select regions).

    If there is any region at the bar 15-17, while the article is cut first by hitting the delete key, when you hit the delete command. Now you have to hit the delete key again and the "time" will be cut.

    Hope that helps

    Edgar Rothermich - LogicProGEM.com

    (Author of "Graphically improved manuals")

    http://DingDingMusic.com/manuals/

    "I could receive some form of compensation, financial or otherwise, my recommendation or link."

  • Multiple and different axis-related channels are on the same graph

    Hello

    I searched the forums and google trying to find out how to trace my 48 channels in a single chart and according to the plots of units he value axis 1 of 4.

    I have 48 channels all of them share the same time base axis.

    48 channels are mixed of flow, pressure, Temp and other bag. The units are located in the 'Units' property to the string.

    I would have 4 axis to account for my 4 units and hold all 48 channels to draw on the same graph, aloted to the axis of sorts.

    Thank you I have maybe for what is right, as it is a small segment of my script script. Help, advice or information would be greatly appreciated. I am struggling to find documentation to know where to start with this.

    Best wishes

    KR

    Hi KR,.

    After talking to my colleagues, I think that you can now have a solution to this, but for the benefit of third parties, the solution is to use "Related curve" scaling in the axis system display 2D of the pane window VIEW. To have this feature enabled you must be using n or n axes systems.

    More information can be found here: http://zone.ni.com/reference/en-XX/help/370858M-01/dlgview/dlgview/view_scaling_manual_dialog/

  • missing samples in the waveform graph

    Hello world

    When processing a file .wav into pieces, I noticed that there are missing samples on the waveform graph where two pieces must be met for the display. What could be the cause of this? Any help appreciated. Thank you!

    Milan

    Your method of reading in pieces in a for loop is create a table 1 d of waveforms with the tunnels of automatic indexation.  It is as well as what you have the data appear in different plots.  I don't know if that's what you want.

    But if this is the case, the problem is that you get to the last point of the first plot, and the first point of the next parcel is a different value.  Because they are two different plots that you do not get the line to join them, as you do between points that are part of the same plot.

  • several land 3D on the same graph

    Hello

    I use the 3D library CW graphics.

    I would to draw 3D curves on the same graph: is it possible?

    To draw my curves, I use: CW3DGraphLib__DCWGraph3DPlot3DMesh (graphHandle, NULL, xVt2, yVt2, zVt2, CA_DEFAULT_VAL)

    Thank you...

    Adeline

    OK, it's great that I found that it did not work!

    I had to add in some places:

    CW3DGraphLib_CWPlots3DItem (plotsHandle, NULL, CA_VariantShort (1), & plotHandle);
    CW3DGraphLib_CWPlot3DSetMultiPlot (plotHandle, NULL, VTRUE);
    CW3DGraphLib_CWPlots3DItem (plotsHandle, NULL, CA_VariantShort (2), & plotHandle);
    CW3DGraphLib_CWPlot3DSetMultiPlot (plotHandle, NULL, VFALSE);

    Ciao ciao

    Adeline

  • Multiple channel for the XY graph

    Im trying to draw a table 1 d in the y-axis and sometimes in the X axis. When I probe values since the wire connecting the XY graph, I see the values also perfect that I need them. But I do not see the values on the graph.

    Able to do the same thing with a waveform graph, but a chart XY im gives me a few more flexibility and benefits...

    Thank you

    Gokul Krishna S

    Hi Eureka,

    There's a Subvi, that you do not attach with this VI, and I can't run it.

    Part of your problem is that your x axis has a single value rather than an array of values.  If you right-click on your chart and select Properties, then go to the locations tab, you can change views of marker.  If you do something larger than a single pixel, you should be able to see it on the screen.

    Please also take a look at This example of community to the XY graphs.

    Thank you

    Lisa

  • Tracing data from two locations on the block diagram on the same graph

    Hello world

    I'm trying to plot data from two distinct processes on a chart.  These processes occur in the order.

    I have developed several solutions, which none produce the result I want.  What I want is for the data to trace in real time each process is running.

    The two processes are functionally identical - one loop "for".  With each iteration of these loops, data is produced and traced.

    The data are plotted in real time, which means that each reference appears on the chart as soon as it is produced.

    However, I am not able to get the second process data on the same graph in the same way.

    The closest I got combines the graphic with a local variable.  This allows the data for the two processes to draw in real time, but the second set of data replaces the first.

    I have attached a very simple test VI showing my problem.

    Any help with this would be greatly appreciated.

    Thank you

    You can do something like this. Is the second process just a continuation of the first? If so, it becomes even easier and you can just to keep construction of the table in the second loop.

  • resize the text of the xy graph axis

    Hello, I have a question about XY charts:

    I want to have both XY-graphs with identical sizes aligned perfectly to have a nice comparison of the separate sets of data without their trace on the same graph. However, I can't find out how to set the width of the text y axis. Because now when the width of the texts are not the same, even if the whole graph has the same region and departure (continuous line on my pcture), areas of land are a little off (indicated by arrows)

    Peux I put somehow the width of these texts, as well as areas of land worth? Right now I use 'Position' and 'Size of the area of the land' properties of charts XY to make them also of size.

    Thank you

    Your VI has not all data stored in it as a default.

    When I used the %10.0f on your VI and set the scales, the results were better than nothing, but not perfect.

    I don't know if this method would work perfectly.  With a font that is not fixed width, the actual width of the text could very slightly.  The width of the different numbers could be different, and the width of a space character to fill the text when there are fewer numbers can be different.

  • Forms on the same graph

    Im trying to make a program that when the user clicks on a Boolean switch it draws a shape of some on a graph and then when I turn a Boolean switch it draw another shape on the same graph but will remove the other form when Boolean is introduced to the wide. all dieas on how I would do it?

    (if this makes no sense at all)

    Here, I have changed it a bit. Hope you like it, I have not used the draw function.

    The rectangular should be straight to work correctly

    Koen

    EDIT: do sizeable triangle

  • Losing the name of the bar graph XY

    I have this question of loss of cursor name:

    I have two sliders of interest in the attached graph, the Green shallow who lose the cursor name (I've already activated, the name of the cursor), dark green who carries the cursor with her name "LTstart". Can someone help me find the name of cursor back? Thank you!

    Hi there is dough,

    I met the same problem with my sliders several times. The label is missing, and sometimes I even had to replace the graphic with a new back on the slider labels. Centering slider did everything well, because this is the label that has lost its 'blocking' to the cursor in the first place.

    For a long time, I had trouble with this problem, but earlier this year, I discovered somewhere in this forum, that there is a sort of the hidden attribute for the position of the slider label. You can't create it directly on the chart, but it is to show if you check the Help cursor attribute list. You will see at the bottom marked "Label offset" (X, Y). By setting these values, you will probably be able to get your return to his slider again label.

    See you soon,.

    Cerati

  • [Bug]? Hypertrend attracts 'False' gaps in the data

    Hello

    I noticed Hypertrend drawing of gaps in the data (when it was actually data). This can be confirmed when you zoom in on the data. Is this a known problem, or is there no solution to workaround/configuration? The images are taken from Hypertrend in LabVIEW, but we saw in MAX too.

    See you soon

    -JG

    Here are some previous discussions on the subject...

    http://forums.NI.com/T5/real-time-measurement-and/distributed-system-manager-historical-trend/m-p/99...

    Also see the attachment for a video of Jing of the problem.  This happens in DSM 2009 and 2010 and on several machines.

    Here is the final result after much rangling with OR:

    From: Mark Black [mailto:[email protected]]
    Sent: Thursday, January 21, 2010 16:53
    To: Sachs, Michael a. (MSFC-ET30) [Intelligent Systems]
    CC: Roger Hebert
    Subject: Re: questions of DSM

    Hi Mike,.

    We do not have a CAR for the same problem (#178809), but this is a general CAR for these types of Hypertrend issues of drawing that matches your case in. This bug is not currently targeted to be fixed for the SP1, but I got in touch with our team of development of Shanghai an update.  Have you seen this problem on several different systems?  Have you seen this problem with plots that are not related to your GPS synchronized cRIO?

    Thank you
    Black mark
    Product Support Engineer - LabVIEW R & D
    National Instruments
    [email protected]
    (512) 683-8929

Maybe you are looking for

  • Bad decisions are made in the development of Itunes.

    My hope is that in some sort that could attract the attention of developers. I'm a strip club dj and producer, usually just a fan passionate about music, who likes to spend a lot of time with my music. Auto-Cote for albums is not a feature that users

  • Cannot install Adobe Flash plugin - FAQ help

    Installation in the FAQ instructions are more current to the Adobe download site. Downloaded the right version of Flash and run Setup. Program knew he was installing in FF and asked that I cut FF. Did and the program is run, saying installation compl

  • Intel pro 2200 bg wireless + satellite a 30 problem?

    Hi, I have a satellite a30-203. I installed intel pro wireless 2200 bg mini card, driver and software for it. I have attached the antenna cables main and aux.at punch everything seems OK, but when I click on the software "wireless on" he says "The In

  • Is it possible to launch the media player 11 reduced to a minimum?

    Hello Is it possible to launch the media player 11 reduced to a minimum. Thank you Paul UK

  • Running retro game Windows XP

    Hi guys, I have Windows XP, I bought a Gabriel Knight game, that has the command D:\Sierra\GKCD to play, is this BACK? I've never done this before, is it safe to run it?  If it is safe to run and how to return to my XP running the system? Is it somet