Scaling X - axis in a Line Time series chart

I have a QTD graph built using RSUM function on a measure for year and previous year .
Plotting a X- Y axis plot with both the measures on Y-axis vs calendar days - ( Oct - Nov - Dec ) on X-axis.
Requirement is with out adding any filters to the report can we just display data from Nov -1 to Nov 30 on the Plot. Zoom into the Graph for just the present month data. The reason for doing this is I am using a RSUM function on the column and if I add a filter for present month the QTD values change and will no longer be valid.
Any suggestions appreciated.

Thanks Vinod for the reply.
Second customer doesnt have data on consecutive days but there is no pattern in that.He has data on 3rd,7th,8th,10th,15th day.
But for all these days for the second customer dots are coming but not in the case for First Customer.
Regards

Similar Messages

  • Line Time Series Chart not working

    Hi All,
    I have one Line Time Series chart where on the X Axis i have taken one date and on Y axis one Sales Figure.Now on the Measure Lables i have taken on dimension as Customer.
    So the chart will give me something like trend which customer has how much sales figures daywise.
    Now the issue is that it shows the trend for one customer correct and shows the line but if i select second customer the graph doesnt show the line just dot for the second customer.
    Any help in this regard

    Thanks Vinod for the reply.
    Second customer doesnt have data on consecutive days but there is no pattern in that.He has data on 3rd,7th,8th,10th,15th day.
    But for all these days for the second customer dots are coming but not in the case for First Customer.
    Regards

  • Line time series in pivot table

    How can I set pivot table chart to be from type 'Line time series'?

    Thanks, it is exactly what i was looking for:
    modifiying:
    <saw:view xsi:type="saw:pivotTableView" name="pivotTableView!1" rptViewVers="200510010">
    <saw:view xsi:type="saw:staticchart" chartPosition="only">
    <saw:template tid="charts/line.cxml"/>
    to:
    <saw:view xsi:type="saw:pivotTableView" name="pivotTableView!1" rptViewVers="200510010">
    <saw:view xsi:type="saw:staticchart" chartPosition="only">
    <saw:template tid="charts/*linetime*.cxml"/>

  • Time series chart in null date

    Hi, everyone
    Currently using
    Crystal Reports 2008 Product: 12.7.0.1983
    I make time series chart using a line graph.
    №      X-axis          Y-axis
    1        2014/1/1          100
    2        2014/1/2            20
    3        2014/1/3          null
    4        2014/1/4          500
    Null becomes 0 when I make an upper list a chart.
    I skip a date of null, and may you make a time series chart?
    Regrards,
    Kano

    Hi, Jamie Wiseman
    Thank you for an answer
    In the case of the above,can you not draw a line in 2014/1/2 and 2014/1/4?

  • IRepots time-series chart help!

    Hi, i need help!!!...
    i've a very simple table in a databas,
    datatime (DATETIME) value (DOUBLE) template_id(INT)+
    | datatime | value | template_id |
    | 2008-05-09 09:00:00 | 0 | 1 |
    | 2008-05-09 09:05:00 | 0.1 | 1 |
    | 2008-05-09 09:10:00 | 0.2 | 1 |
    | 2008-05-09 09:15:00 | 0.3 | 1 |
    | 2008-05-09 09:20:00 | 0.4 | 1 |
    | 2008-05-09 09:00:00 | 0.5 | 2 |
    | 2008-05-09 09:05:00 | 1 | 2 |
    | 2008-05-09 09:10:00 | 1.5 | 2 |
    | 2008-05-09 09:15:00 | 2 | 2 |
    | 2008-05-09 09:20:00 | 2.5 | 2 |
    | 2008-05-09 09:00:00 | 0.1 | 3 |
    | 2008-05-09 09:05:00 | 0.3 | 3 |
    | 2008-05-09 09:10:00 | 0.5 | 3 |
    | 2008-05-09 09:15:00 | 0.7 | 3 |
    | 2008-05-09 09:20:00 | 0.9 | 3 |
    i need to create a time-series chart (with two lines o variables in this case, cause i have 2 different template_id (1,2)) that shows on the X axis datatime and value on the Y axis. My query is shown bellow:
    Select * from data_valueorder by template_id, datatime;
    of course i need to filter... so, on the chart properties i created two series:
    - first one:
    Series Expresion: "template = 1"
    X Expression: $F{datat ime}
    Y Expression : ( $F{template_id}.equals(new Long(1)) ? $F{value} : null )
    - Second:
    Series Expresion: "template = 2"
    X Expression: $F{datat ime}
    Y Expression : ( $F{template_id}.equals(new Long(2)) ? $F{value} : null )
    the thing is, i doesnt show the first line... actually, if i had more template_id entrys (lets say 1,2,3,4,5).... my chart always displays the values of the last template_id (5 in this case)..
    can anyone PLEASEEE help?

    Hello
    (1) Before charting time or duration values, I convert them as decimal numbers representing a decimal number of days (you may choose a decimal number of hours or a decimal number of minutes).
    Here is what I get.
    It appears that the chart tool defaults to the orientation where there is the greater number of values.
    This is the case for Graphique 1 and for Graphique 2
    Clicking on the orientation button I may change the behavior accordingly as I did for Graphique 1 rotate and Graphique 2 rotate.
    I don't see any oddity here.
    Just for info, to build the transposed tables, I didn't used the TRANSPOSE() function but formulas like:
    B9 =OFFSET($D$2,COLUMN()-COLUMN($B$9),ROW()-ROW($B$9))
    fill down, fill right
    G9 =OFFSET($I$2,COLUMN()-COLUMN($G$9),ROW()-ROW($G$9))
    fill down, fill right
    Yvan KOENIG (from FRANCE mercredi 28 janvier 2009 14:29:02)

  • Time series chart doesn't work

    I am trying to create a simple time series chart, plotting five time series over a 5 year period. I have a table with the time series in rows, but when I select the chart to graph it, the data appears as if the time series is in the columns! Then, when I re-created the chart with the data in the columns and selected it, it created the same chart! I tried "transposing" the columns and rows as the "Help" command suggested, by going into the "Data Series" box, but it won't accept any input in the box. Help.

    Hello
    (1) Before charting time or duration values, I convert them as decimal numbers representing a decimal number of days (you may choose a decimal number of hours or a decimal number of minutes).
    Here is what I get.
    It appears that the chart tool defaults to the orientation where there is the greater number of values.
    This is the case for Graphique 1 and for Graphique 2
    Clicking on the orientation button I may change the behavior accordingly as I did for Graphique 1 rotate and Graphique 2 rotate.
    I don't see any oddity here.
    Just for info, to build the transposed tables, I didn't used the TRANSPOSE() function but formulas like:
    B9 =OFFSET($D$2,COLUMN()-COLUMN($B$9),ROW()-ROW($B$9))
    fill down, fill right
    G9 =OFFSET($I$2,COLUMN()-COLUMN($G$9),ROW()-ROW($G$9))
    fill down, fill right
    Yvan KOENIG (from FRANCE mercredi 28 janvier 2009 14:29:02)

  • Error: Inappropriate data for continuous time axis while displaying in Time-series Line in OBIEE

    I wanted to use time series line in my analysis but I couldn't get What kind of data is required for this graph? It shows inappropriate data for continuous time axis. I had total amountmin vertical axis and time(year) in horizontal axis.

    Check this if not helpful then follow 2 links at bottom
    OBIEE - Time Series Conversion Functions : AGO and TODATE | GerardNico.com (BI, OBIEE, OWB, DataWarehouse)
    ~ http://cool-bi.com

  • Time-series Chart

    Warning, CR Newbie here so this may be a stupid question. I am evaluating the trial version of CR to see if it will be a good fit for an upcoming project. I've seen some related posts in the SCN, but no answers that quite fit.
    I'm looking to create a line chart (or a scatter chart) with time-series data. My dataset includes a time stamp field (yyyy-MM-dd hh:mm:ss) and some floating-point temperature values like this:
    2014-05-01 08:00:00, 123.4, 115.1, 109.2
    2014-05-01 08:00:10, 123.6, 116.0, 109.8
    The desired outcome has the date / time along the X-axis with data points spaced proportionally in the X dimension and plotted in the Y-dimension according to the temperature. The interval between the time stamps is not always the same, so numerical scaling is required on both axes. The desired chart would show a temperature scale along the vertical axis, three trend lines for the three series of temperature data and times shown on the X axis label.
    I've played with several options in an attempt to make this work. On the data tab, it would seem I would want to select "on change of" and then my time-stamp field. However, with this selection, I can only use summary values and end up with a chart with a single data point for each series. I don't need or want any summary calculations carried out on the data, I just want to plot it so I can look at a trend over time. I can get trend lines if I select "for each record" on the data tab of the wizard, but then my X-axis is meaningless and the horizontal scaling is misleading unless the interval between my samples is constant.
    I would welcome any suggestions on how best to accomplish this with Crystal Reports.
    Thanks for reading.

    Jamie,
    Thanks for continuing to reply. I am getting close, but still no success.
    Here is the procedure I've followed and problem:
    Put chart in RF section
    Start Chart Expert
    Chart Type = Numeric Axes, subtype = Date axis line chart
    Data tab
    On change of datetime field
    Order... ascending, printed for each second
    Values avg of my data fields (must select summary when on change of is used)
    Right-click on X-axis label, select Group (X) Axis Settings
    Scales tab: base unit, major unit and minor unit can only be set to days, months or years
    I cannot set the minimum and maximum date with resolution other than day
    Right-click Chart, select Chart Options...Axes tab: show group axes set to show time scale
    No matter the setting I use, I can't find a way to adjust the resolution of the time scale lower than days.
    I tried using a formula to extract only the time portion of my datetime field. I used that as my "on change" data series, hoping maybe CR would automatically recognize I was looking at a fraction of a day if I did that. No good - now it gives me a date scale with the dates showing up as the beginning of the epoch, but I can still only get resolution of integer days.
    Thanks for your patience and persistence.
    - Max

  • Unable to take 2800 rows in  time series chart  in obiee 11g --bug in obiee

    Hi,
    in x axis there are 2800 rows containg timestap values and and y axis it contains values but it shocking that it is not not taking even 2800 rows in charts
    thanks

    Hi,
    you can find instanconfig.xml file under below path
    obiee installed drive:\Oracle\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1
    Just FYI, you can update <chart> conntent under </ServerInstance> look at the <views> tag and put like below..
    For example mine is,
    <Views>
    <Pivot>
    <MaxCells>6500000</MaxCells>
    <MaxVisibleColumns>100</MaxVisibleColumns>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>65000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>500</DefaultRowsDisplayed>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DisableAutoPreview>false</DisableAutoPreview>
    </Pivot>
    <Table>
    <MaxCells>6500000</MaxCells>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>65000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>500</DefaultRowsDisplayed>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
    </Table>
    *<Charts>*
    *<MaxVisibleColumns>20000</MaxVisibleColumns>*
    *<MaxVisiblePages>10000</MaxVisiblePages>*
    *<MaxVisibleRows>20000</MaxVisibleRows>*
    *<MaxVisibleSections>250</MaxVisibleSections>*
    *<JavaHostReadLimitInKB>40960</JavaHostReadLimitInKB>*
    *</Charts>*
    </Views>
    <Dashboard>
    keep in b/w <views> and </views> xml tag
    after that you need to restart bi presentation services. then test it out.
    FYI:
    Starting/Stoping by individual BI COmponents:(Via OPMN)
    =========================================================
    stesp to starting bi presentation services alone,
    D:\Oracle\Middleware\instances\instance1\bin>opmnctl stopproc ias-component=cor
    eapplication_obips1
    opmnctl stopproc: stopping opmn managed processes...
    D:\Oracle\Middleware\instances\instance1\bin>opmnctl startproc ias-component=co
    reapplication_obips1
    opmnctl startproc: starting opmn managed processes...
    Thanks
    Deva
    Edited by: Devarasu on Jun 19, 2012 4:54 PM
    Edited by: Devarasu on Jun 19, 2012 4:57 PM

  • Time Series Plot

    Is there a standard way to create a time series chart in Apex 4.2?
    The line chart does not take into account irregular time intervals - it assumes that the data points on the X axis are equally spaced, its just really a bar chart but with a line instead.
    The scatter chart handles the x axis values correctly but does not have the option to join the points with a line, so all sense of time series trend is lost.
    Using the line chart I can fudge the values to add extra null values for a defined list of dates so that the spacing of points is more accurate, but this is only really ok when say there is one point per day and there may be missing days.  If there are sometimes 3 points per day or zero points per day this approach is too cumbersome.
    Alternatively I can change the scatter chart to use a line. Anychart has the option to use a line (line_style)  but this isn't included in apex and it cant be added to the XML because it exists within the #DATA# section so the only way would be to fudge the series query to bring that back before the data.
    I would have thought that a time series plot would be quite a common requirement - have I missed it somewhere?
    Kathryn

    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

  • Scatter plot using time series function - Flash charting

    Apex 3 + XE + XP
    I am trying to build a time series scatter plot chart using flash chart component.
    Situation :
    On each scout date counts are taken within each crop. I want to order them by scout dates and display them in a time series chart. Each series represents different crop.
    I am posting the two series queries I used
    Queries:
    Series 1
    select     null LINK, "SCOUTDATES"."SCOUTDATE" LABEL, INSECTDISEASESCOUT.AVERAGECOUNT as "AVERAGE COUNT" from     "COUNTY" "COUNTY",
         "FIELD" "FIELD",
         "VARIETYLIST" "VARIETYLIST",
         "INSECTDISEASESCOUT" "INSECTDISEASESCOUT",
         "SCOUTDATES" "SCOUTDATES",
         "CROP" "CROP"
    where "SCOUTDATES"."CROPID"="CROP"."CROPID"
    and     "SCOUTDATES"."SCOUTID"="INSECTDISEASESCOUT"."SCOUTID"
    and     "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
    and     "CROP"."FIELDID"="FIELD"."FIELDID"
    and     "FIELD"."COUNTYID"="COUNTY"."COUNTYID"
    and      "INSECTDISEASESCOUT"."PESTNAME" ='APHIDS'
    and     "VARIETYLIST"."VARIETYNAME" ='SUGARSNAX'
    and     "COUNTY"."COUNTNAME" ='Kings' AND CROP.CROPID=1
    order by SCOUTDATES.SCOUTDATE' ASC
    Series 2:
    select     null LINK, "SCOUTDATES"."SCOUTDATE" LABEL, INSECTDISEASESCOUT.AVERAGECOUNT as "AVERAGE COUNT" from     "COUNTY" "COUNTY",
         "FIELD" "FIELD",
         "VARIETYLIST" "VARIETYLIST",
         "INSECTDISEASESCOUT" "INSECTDISEASESCOUT",
         "SCOUTDATES" "SCOUTDATES",
         "CROP" "CROP"
    where "SCOUTDATES"."CROPID"="CROP"."CROPID"
    and     "SCOUTDATES"."SCOUTID"="INSECTDISEASESCOUT"."SCOUTID"
    and     "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
    and     "CROP"."FIELDID"="FIELD"."FIELDID"
    and     "FIELD"."COUNTYID"="COUNTY"."COUNTYID"
    and      "INSECTDISEASESCOUT"."PESTNAME" ='APHIDS'
    and     "VARIETYLIST"."VARIETYNAME" ='SUGARSNAX'
    and     "COUNTY"."COUNTNAME" ='Kings' AND CROP.CROPID=4
    order by SCOUTDATES.SCOUTDATE' ASC
    Problem
    As you can see the observations are ordered by scout date. However when the chart appears, the dates dont appear in order. The chart displays the data from crop 1 and then followed by crop 4 data, which is not exactly a time series chart. Does flash chart support time series or they have no clue that the data type is date and it should be progressive in charting ? I tried to use to_char(date,'j') to converting them and apply the same principle however it did not help either.
    Any suggestions ?
    Message was edited by:
    tarumugam
    Message was edited by:
    aru

    Arumugam,
    All labels are treated as strings, so APEX will not compare them as dates.
    There are two workarounds to get all your data in the right order:
    1) Combine the SQL statements into single-query multi-series format, something like this:
    select null LINK,
    "SCOUTDATES"."SCOUTDATE" LABEL,
    decode(CROP.CROPID,1,INSECTDISEASESCOUT.AVERAGECOUNT) as "Crop 1",
    decode(CROP.CROPID,4,INSECTDISEASESCOUT.AVERAGECOUNT) as "Crop 4"
    from "COUNTY" "COUNTY",
    "FIELD" "FIELD",
    "VARIETYLIST" "VARIETYLIST",
    "INSECTDISEASESCOUT" "INSECTDISEASESCOUT",
    "SCOUTDATES" "SCOUTDATES",
    "CROP" "CROP"
    where "SCOUTDATES"."CROPID"="CROP"."CROPID"
    and "SCOUTDATES"."SCOUTID"="INSECTDISEASESCOUT"."SCOUTID"
    and "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
    and "CROP"."FIELDID"="FIELD"."FIELDID"
    and "FIELD"."COUNTYID"="COUNTY"."COUNTYID"
    and "INSECTDISEASESCOUT"."PESTNAME" ='APHIDS'
    and "VARIETYLIST"."VARIETYNAME" ='SUGARSNAX'
    and "COUNTY"."COUNTNAME" ='Kings'
    AND CROP.CROPID in (1,4)
    order by SCOUTDATES.SCOUTDATE ASC2) Union the full domain of labels into your first query. Then the sorting will be applied to the full list, and the values of the second series will be associated with the matching labels from the first.
    - Marco

  • Time Series Graph Show Inappropriate Data for Continuous Analysis

    Hi All,
    I have marked Month as the Chronological Key in my BMM Layer but still I am unable to view the data correctly in my Time Series graph because it shows Inappropriate Data for Continuous Analysis at the time of creating the Graph. Can anybody help me out with the same.
    Thanks

    What data type is your key? The chronological key is required for the time series formulas (ago etc.).
    The time series chart requires a date or datetime data type to work - perhaps a new column with the first of the month/period would help? Regards,
    Robret

  • SAP HANA One and Predictive Analysis Desktop - Time Series Algorithms

    I have been working on a Proof-of-Concept project linking the SAP Predictive Analysis Desktop application to the SAP HANA One environment.
    I have modeled that data using SAP HANA Studio -- created Analytic views, Hierarchies, etc. -- following the HANA Academy videos.  This has worked very well in order to perform the historical analysis and reporting through the Desktop Application. 
    However, I cannot get the Predictive Analysis algorithms -- specifically the Time Series algorithms -- to work appropriately using the Desktop tool. It always errors out and points to the IndexTrace for more information, but it is difficult to pinpoint the exact cause of the issue.  The HANA Academy only has videos on Time Series Algorithms using SQL statements which will not work for my user community since they will have to constantly tweak the data and algorithm configuration. 
    In my experience so far with Predictive Analysis desktop and the Predictive Algorithms, there is a drastic difference between working with Local .CSV / Excel files and connecting to a HANA instance.  The configuration options for using the Time Series Algorithms are different depending upon the data source, which seems to be causing the issue.  For instance, when working with a local file, the Triple Exponential Smoothing configuration allows for the specification of which Date field to use for the calculation.  Once the data source is switched to HANA, it no longer allows for the Date field to be specified.  Using the exact same data set, the Algorithm using the local file works but the HANA one fails. 
    From my research thus far, everyone seems to be using PA for local files or running the Predictive Algorithms directly in HANA using SQL.  I can not find much of anything useful related to combing PA Desktop to HANA. 
    Does anyone have any experience utilizing the Time Series Algorithms in PA Desktop with a HANA instance?   Is there any documentation of how to structure the data in HANA so that it can be properly utilized in PA desktop? 
    HANA Info:
    HANA One Version: Rev 52.1
    HANA Version: 1.00.66.382664
    Predictive Analysis Desktop Info:
    Version: 1.0.11
    Build: 708
    Thanks in advance --
    Brian

    Hi,
    If you use CSV or XLS data source you will be using Native Algorithm or R
    Algorithm in SAP Predictive Analysis.
    When you connect HANA, SAP Predictive Analysis uses PAL Algorithm which runs
    on HANA server.
    Coming to your question regarding difference,
    In SAP PA Native Algorithm, we could provide the Data variable, Algorithm
    picks the seasonal information from the Data column. Both R and SAP HANA PAL
    does not support Date Column. We need configure seasonal information in
    Algorithm properties.
    R Properties
    1) Period : you need to mention the periodicity of the Data
    Monthly : (12)
    Quarter : (4)
    Custom : you can use it for week or Daily or hourly.
    2) Start Year: need to mention Start year.
    Start year is not used by algorithm for calculating Time series, but it helps
    PA to generate Visualization ( Time series chart) by simulating year and
    periodicity information.
    3) Starting Period:
    if your data is Quarterly and you have data recordings from Q2, mention 2 in
    start period.
    Example.
    If the data periodicity is Monthy and my data starts from Feb 1979, we need to provide following information,
    Period: 12
    Start year: 1979
    start Period: 2
    PAL Properties. : Same as properties defined in R.
    Thanks
    Ashok
    [email protected]

  • Time Series Line will shown Obiee server time while only one value on chart

    2012/7/3 :
    I mean if in the chart there is only one point ,then this point will be on the vertical axis and the date of this point will be the original point even the date you selected if before this date ,
    at this situation in the original point there will show current time on obiee server, does this is a bug?
    2012/6/28:
    In the time series line , if there only one point have value and no line displaying, then the chart will show the obiee server time when the query is executed like "02:10:00 AM" it will shown on the ordinate origin .
    Can this time be remove from the chart or it is a bug?
    Edited by: Yu Yang on 2012-7-2 下午7:58

    Hi Yang,
    Yes looks like a bug, I could not find any way to hide server time.
    Regards,
    Dpka

  • 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

Maybe you are looking for

  • See alarm status at a glance?

    In iCal 3.0.2 I want to see at a glance if an event has an alarm set. On my Treo there is an alarm icon. Is there anything similar for iCal? Thanks!

  • How can I hold values in a variable

    I am looking for someone to point me in the right direction - I'm somewhat new to Java, but am a dinosaur from the mainframe, and sometimes get frustrated at the amount of effort I need to go through to do something that would have been simple on the

  • The new macbook pro come with a free memory slot?

    Hi, I am planning to buy a new macbook pro 2.4ghz that come with 2Gb and upgrade to 3Gb or 4Gb I would like to know if the computer come with a free slot or if I will loose a module pre-installed (1GB) thanks

  • How do I right-click???

    That really bugs me. Is it impossible or something???

  • Trying to do an 'if' function need help

    I have four values that I want to input into a field. What I am trying to make happen is when you type in a letter, that text field will then highlight or fill to a certain color. Can anyone help me? And I want to have four values in it. The values w