Plot line in the middle of a time series

Hi
I am trying to plot the limits for a graph. These limits are specified for 10, 20 and 30 ms (In particular I want to plot the limits for neck calibration tests for H3 dummy calibration). For this I need to draw a line from 10 ms to 30 ms. How do I do this? So far I am generating a channel by using either chnlingen or chngenval or chd. But when I generate values from the middle obviously it makes the values from start of the time series to the point equal to 0.
Another problem im facing is in plotting a vertical line. How can I do this?  

Hi thanks for the reply.
I have attached the report I have made. I have written a VBA code to fill in all the details and graphs accordingly. Now the test requirements are as given in the table. I need to specify that in the graph. I dont want the encircled straight line. Just the 2 limits from 10 to 30 ms. In fact the more correct and logical wasy of representing the limits would be 3 horizontal lines, 1 at 10 ms from 22.5-27.5g, 1 at 20 ms from 17.6-22.6g and 1 at 30 ms from 12.5-18.5g.
Hope i have put my doubt across clearly. Again with the code you have given, I dont know how to 'tell' diadem to plot that particular graph in that particular X-Y plot in the report/LPD.
For the 2 lines, this is the code i have written.
'Find 10 ms time
        L3= ChnLength(1)
        L4 = 0
        Do while (L4 < L3)
        L4= L4 + 1
        R1= ChD(L4,1)
          If (R1 > 0.01) Then
                Exit Do
          end if
                 Loop   
        L4= L4 - 1
        LT10=L4
'Find 20 ms time
        Do while (L4 < L3)
        L4= L4 + 1
        R1= ChD(L4,1)
          If (R1 > 0.02) Then
                Exit Do
          end if
                 Loop   
        L4= L4 - 1
 LT20=L4
 LT1 = LT20-LT10
          For i  = 0 to LT1 'Lt1 is var for channel length from 10 ms to 20 ms
            ChD(LT10+i,"Upper limit") = 27.5-(4.9*i/LT1)
          Next
 Thanks again. Waiting for your kind help!
Attachments:
neck cal.jpg ‏150 KB

Similar Messages

  • Glowfilter sometimes adds a line across the middle of the bitmap

    I am using a glowfilter to draw the outline of a shape onto a bitmap.  I set both inner and knockout to true.
    Most of the time when I apply the filter, all goes well.  But sometimes, some of the shapes end up with a horizontal line across the middle.
    Does anyone have any idea what might cause this, and what workaround could be used to avoid it?

    Hey Dean Marvin,
    Thanks for the question. These two symptoms are probablyh related. To troubleshoot, let's try resetting your iPod:
    How to reset iPod
    http://support.apple.com/kb/HT1320
    Thanks,
    Matt M.

  • Blue lines down the middle of my pages

    Why am I getting blue lines down the middle of my pages when I print?

    Hello Talladega75,
    Welcome to the HP Forums.
    I see that you are having an issue with Blue lines on your print outs.
    So I can better assist you, please respond with which Operating System you are running as well as the exact printer model number.
    Which Windows Operating System am I running?
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    How Do I Find My Model Number?
    Please make sure that you have the printer power cable connected directly to a wall outlet and not a power bar/strip. Here is a document that uses a LaserJet printer as an example but it is meant for HP products in general. Please click on the following link that explains the Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector.
    Please write me back when you have time if you are still having issues.
    Cheers, 
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • My iPad mini was working last night now it has a black line in the middle of it.  Can it be fixed?

    My iPad mini has a black horizontal line in the middle of the screen.  Can it be fixed and if so how?

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • My 4650 prints papers with a 45 degree black 1" line in the middle of the paper.

    I have an HP Photosmart C4650 using Windows XP and there's about a one inch long fairly thick black line near the middle of every page slanted to the right.  I thought it was the old cartridges because the ink had been low for a while.  I bought both new cartridges and installed them.  The alignment sheet printed without the line, but the first time I tried to print something out, that same line is still there.

    Hi there,
    This article should cover the issue you are experiencing. Give the steps outlined a shot and let us know if it helps.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • HP J6480 All in one leaves a line down the middle of the paper.

    When I use the feed mode the printer squeeks and protest leaving a line down the middle of the paper.  How can I get this resolved

    Hi there billba,
    This article covers clearing a carriage jam and gives steps used in clearing the carriage assembly. Give the steps a shot and let us know if it helps. Though it seems the product may need servicing.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • GUI_DOWNLOAD blank lines in the middle

    Hi All,
    I am using 'GUI_DOWNLOAD' FM to create excel file of my internal table data; Internal table is having 220 fields and expects to create 220 columns in excel file;
    In the middle of the excel file I get several blank lines on and off with only very few column values are filled;
    I checked the ITAB in debug before calling the FM it has no issues and has the correct data;
    My code is as below;
    CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = l_filename
          filetype                = 'ASC'
          write_field_separator   = 'X'
        TABLES
          data_tab                = i_compare
          fieldnames              = i_excel_head
        EXCEPTIONS
          file_write_error        = 1
    Appreciate your expert ideas please;
    Thank you
    Iver

    Hi,
    GUI_DOWNLOAD blank lines in the middle
    In your GUI_DOWNLOAD code, There is no mistake.
    I think, In your program, have you written any SET BLANK LINES ON.
    It is one case.
    Follow this link,
    http://wiki.sdn.sap.com/wiki/display/ABAP/DownloadinginternaltablestoExcel
    It may helps to you.
    Regards,
    Sekhar

  • Fuzzy line on the middle of display.

    Recently i have found a fuzzy line in the middle of my retina macbook pro screen (15"). I have always treated it very well, it never falled down.
    The line appear only with a strong light from sun, especially with dark backgounds on the screen.
    The line seams like dust, it's not like a crack. It has a lenght of 9cm long and an height of 1mm.
    I understand that the problem is probably related to how i used the mac, but i don't undertand the cause. The only thing have done is replacing the Spek cover, but two or three weeks before now. What do you think? Have I to replace the screen? How much does it cost?
    Hope you can help me.
    Olivum
    Sorry for my bad english

    Warranty is worldwide. He can take it to a Dutch Apple Store without worrying
    Best of luck.

  • My iPad has not been dropped or damaged at all. The screen is grey fuzzy and has coloured lines down the middle. iPad 3 also.

    My iPad has not been dropped or damaged at all. The screen is grey fuzzy and has coloured lines down the middle. iPad 3 also.

    Basics from the manual are restart, reset, restore.
    Try all of these.
    If these fail, then:
    iOS: Unable to update or restore

  • Grey line in the middle on the screen

    help a grey line in the middle of the screen

    Probably a hardware issue, it could be a failing display or graphics card. I'd recommend running Apple Hardware Test in Extended Mode 2-3x to see if it finds any errors. At some point you will need to make an appointment at  our local Apple Store or AASP for professional assesment.
    BTW please complete your profile, you can find the link under Your Stuff in the upper right of this screen. At the very least let us know the version of OS X on your computer and what computer you own.

  • Black line in the middle of the screen, I Pad is 2 years old, tried rebootng no change. Help!

    black line in the middle of IPad

    I am guessing when you say reboot, that you reset by holding the power button and home button until you saw the apple then let go. Did you try restoring it as new through iTunes on your computer? If you still have problems, you may want to make an appt with an Apple store.

  • Delete a line in the middle of a text file

    Hi, I want to delete a certain string line in the middle of a text file. How could I do this? Thanks.

    Got it. But instead of overwriting with spaces I only need to write the letter "b":
    try {
                                            RandomAccessFile acceso=new RandomAccessFile("F:/ArchivoContrase�as.txt","rw");
                                            String linea="";
                                            while ((linea = acceso.readLine()) != null) {
                                                      StringTokenizer patron=new StringTokenizer(linea," ;");
                                                      String s=patron.nextToken();
                                                      s=patron.nextToken();
                                                      if (elimina.equals(s)) {
                                                           System.out.println(acceso.getFilePointer());
                                                           acceso.seek(acceso.getFilePointer());
                                                           acceso.writeBytes("b");                         
                                       } catch (FileNotFoundException e) {
                                            e.printStackTrace();

  • I have a horizontal line across the middle of the ipod screen and the ipod and itunes won't sync.  What is the line and is it connected to the no sync.

    I have a horizontal line across the middle of the ipod screen and itunes and the ipod won't sync.  What is the horizontal line and is it connected to the no sync.

    Hey Dean Marvin,
    Thanks for the question. These two symptoms are probablyh related. To troubleshoot, let's try resetting your iPod:
    How to reset iPod
    http://support.apple.com/kb/HT1320
    Thanks,
    Matt M.

  • I have vertical lines in the middle of my screen

    have vertical lines in the middle of my screen

    Disabling "Automatic Graphics Switching" seems to work to resolve this problem if there are random lines that appear around windows and glitches in the display.
    System Prefs -> Energy Saver -> Disable automatic graphics switching
    Source:
    https://discussions.apple.com/message/23982751#23982751

  • When watching a video, often the Press Esc to return line in the middle of the screen does not disappear. What can I do to remove it?

    Often when watching a video, TV show on ABC or Hulu Plus, after going to the full screen, the Press Esc to return line in the middle of the screen does not disappear. What can I do to remove it so it does not detract from the viewing?

    Mac Pro - Mid 2010
    Processor  2 x 2.66 GHz 6-Core Intel Xeon
    Memory  8 GB 1333 MHz DDR3 ECC
    Graphics  ATI Radeon HD 5870 1024 MB
    Software  Mac OS X Lion 10.7.2 (11C74)
    This is a brand new machine that I just purchased from Apple. It was delivered yesterday
    The old computer is an old PowerMac G5, but my OS X install disc is a retail version of 10.5.
    I also tried the OS X 10.5 install disc that came with my MacBook Pro (2.6 Ghz Intel Core 2 Dual).
    Same issue - nothing but a grey screen when the system tries to boot from the DVD

Maybe you are looking for