How can I extract the values on the automatically scaled Y axis?

Hi everyone,
In DIAdem script I'm trying to set the scaling of the Y axis completely automatically, and I want to take the values found automatically in one row and have them be the scale of another row.
I want to leave the scaling type (D2AxisYScaleType) as: "complete automatic", is there a way to extract the scaling (end and begin) found automatically on a certain row in the report (say row number 1) and use it as the scaling of another row (say row 3)?

Hi nkm10,
try following:
Dim xBegin, xEnd, xSpan
'First 2D-Axis System
Call GraphObjOpen("2DAxis1")
Call GraphObjOpen("2DAxis1_XAxis1")
xBegin = D2AxisXBegin
xEnd = D2AxisXEnd
xSpan = D2AxisXSpanWidth
Call GraphObjClose("2DAxis1_XAxis1")
Call GraphObjClose("2DAxis1")
' Second 2D-Axis System
Call GraphObjOpen("2DAxis2")
Call GraphObjOpen("2DAxis2_XAxis1")
D2AxisXDivMode = "linear"
D2AxisXScaleType = "begin/end manual"
D2AxisXBegin = xBegin
D2AxisXEnd = xEnd
D2AxisXSpanWidth = xSpan
Call GraphObjClose("2DAxis2_XAxis1")
Call GraphObjClose("2DAxis2")
 It was working fine for me. So you read the data from one axis-system where you want to geht the data from and set the second one according to that.
I hope this helps,
RMathews

Similar Messages

  • How can I extract the two channels from a stereo track?

    Hi,
    I am writing a class that is able to draw an audio signal. It seems to be working well but I have a question. If I load a mono audio file I am able to draw it on a graph by using the byte[] array and everything is ok until now. That's the code:
    void Draw(byte[] x)
                Graphics g=getGraphics();
                Graphics2D g2=(Graphics2D)g;
                g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,                     RenderingHints.VALUE_ANTIALIAS_ON);
                for(int i=0; i<x.length-6; i++)
                    g2.draw(new Line2D.Float(((i*(getWidth()-6))/x.length)+5, (getHeight()/2)-          ((x*(getWidth()-6))/x.length), (((i+1)*(getWidth()-6))/x.length)+5, (getHeight()/2)-     ((x[i+1]*(getWidth()-6))/x.length)));
    The results is correct only if I have a mono track. Obviously when I get a stereo track the array becomes very large so here the question. How can I extract the two audio channels from a stereo track?
    Thanks in advance.
    Maurizio Di Vitto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    A mono audio stream is stored [sample, sample, sample, sample], so just a list of samples in an array.
    A stereo sample is interleaved in the same manner, so you get [left-sample, right-sample, left-sample, right-sample]
    So every nth sample is the 1st channel, every nth+1 is the 2nd channel...

  • How can I extract the data from Xstring .

    Hi Gurus ,
    How can I extract the data from a XSTRING  .
    I have to get the data which is filled in the survey form the data is getting saved in form of xstring .
    Someone told me that there is a standard FM for that . but I am not able to find .
    Please reply with the FM in case some one knows about it .
    Thanks in advance .

    The following code works as of 7.0 (in any SAP system):
    FORM XSTRING_TO_STRING USING input TYPE xstring CHANGING output TYPE string.
    TYPES : BEGIN OF ty_struc,
              line TYPE c LENGTH 100,
            END OF ty_struc.
    DATA lt_char TYPE TABLE OF ty_struc.
    DATA length TYPE i.
    length = xstrlen( input ) / cl_abap_char_utilities=>charsize.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        buffer                = input
      tables
        binary_tab            = lt_char.
    CONCATENATE LINES OF lt_char INTO output RESPECTING BLANKS.
    output = output(length).
    ENDFORM.
    Edited by: Sandra Rossi on Mar 30, 2010 12:24 AM

  • How can I extract the info from my Time Capsule?

    How can I extract the info from my Time Capsule?

    What info would that be??
    If you mean how to recover TM back to a computer.. see Pondini Q14-17
    http://pondini.org/TM/FAQ.html
    If that isn't it .. we do not know what.. "the info" you are talking about.

  • How can I extract the full SQL script for a schema?

    Hi,
    How can I extract the full SQL script for a schema?
    I am looking for some method that needs jus SQL*Plus and preferably doesn’t need any extra tool.
    Thank you,
    Alan

    How can I extract the full SQL script for a schema?What are you looking for? PL/SQL code? DDL for objects?

  • HOW CAN I EXTRACT THE SYSTEM DATE?

    HOW CAN I EXTRACT THE SYSTEM DATE?

    import java.util.*;
    import java.text.SimpleDateFormat;
    public class date2{
        public static void main(String[] args){
            Date today = new Date();
            SimpleDateFormat output = new SimpleDateFormat();
            String answer = output.format(today);
            System.out.println(answer);
    }If you want to make it prettier, you can look at using a locale, or a pattern string in the SimpleDateFormat constructor. Read the Documentation.
    Note that new Date(), constructs a Date with the current Time,
    you could also use: new Date(System.currentTimeMillis());
    Hope this helps
    -Philip.

  • How can I extract the native SQL generated by TopLink?

    How can I extract the native SQL generated by TopLink?
    This is useful for example to use pagination, or pass the SQL to a stored procedure that may do many things, like using a cursor, or apply security.
    Pagination example where the SQL inside the inner parentheses are generated from Toplink, and the outer SQL is generic:
    select *
    from
    (select xx.*, rownum as rn
    from
    (select o.order_id, r.name, ...
    from placed_order o, restaurant r
    where o.restaurant_id = r.restaurant_id
    order by o.order_ext_id
    ) xx
    where rownum < 21)
    where rn > 10

    Alternatively, you can open your sessions.xml in the Mapping Workbench and for a specific session, you can Click the Login Tab and then the Options tab. Then select "Native SQL" and it will be outputted to the console (assuming that is where you outputing it).
    zb

  • How can I extract the soundtrack from iMovie and put it in my iTunes Library?

    How can I extract the soundtrack from iMovie and put it in my iTunes Library?

    Or this
    From iMovie 10.0.6 select Share > File. Then select Format=Audio Only. Then select File Format and choose from AAC,MP3,AIFF or WAV.

  • How can I disable the automatic hiding of known file attachments, and why are always about 10 internet pages where I have to download something if i use firefo

    How can I disable the automatic hiding of known file attachments, and why are always about 10 internet pages where I have to download something when I use mozila firefox?
    Windows Computer

    1) If you are talking about the file names on the computer, there is a
    setting to turn off known file types. Open your file browser. Then
    just under the location bar, press '''Tools,''' then '''Folder Options.'''
    A new window will open. Select '''View.''' Look for
    '''Hide Extensions For Known File Types.'''
    2) Never NEVER '''NEVER''' download anything unless you know what
    it is. If a web site claims it needs to download something, what is it?
    It could be something like the flash player, '''or a virus ! !'''
    Ask questions, or go somewhere else.

  • I have MacAir with OS 10.8.4, how can I cancel the automatic link of my USB flashdisk to Mac instead of BootCamp, since I have one time press the ALT key before choosing "MAC" or "BOOTCAMP". Thanks

    I have MacAir with OS 10.8.4, how can I cancel the automatic link of my USB flashdisk to Mac instead of BootCamp, since I have one time press the ALT key before choosing "MAC" or "BOOTCAMP". Thanks

    That only happens when you are running Windows in a Virtual Machine with OS X as the host. Shut down the VM and restart your Mac.  Once the VM is running again and you insert a USB flash drive you should get that prompt again.

  • How can I stop the automatic downloads of the iPhone 2G?

    how can I stop the automatic downloads of the iPhone 2G?

    What automatic downloads?  Please explain your problem in detail.

  • How can i change the automatic ID that apppears in my iPhone where in fact itis not my apple ID in the first place?

    how can i change the automatic ID that apppears in my iPhone where in fact it is not my apple ID in the first place?

    The automatic ID DaintyDaisy is talking about is when you go to your app store and it shows you as logged in under a certain Apple ID, and asks you for the password to log in.  If this is not the correct Apple ID, then we (including me!!!) need to know where to go to re set it.  I followed some other discussions and one link http://support.apple.com/kb/HT5796  shows you how to sign out, but when the Apple ID is greyed out, it doesn't help!!! Typical Apple world... get tangled and suffer for endless hours trying to fix one problem... but there is a million more to fix (like getting the righ App to download pictures from one's iPhone).

  • How can i disable the automatic move command?

    how can i disable the automatic move command?  when i choose the move command it automatically moves whatever element that's selected, using the previous dimension used to move something.  Big Problem.

    went back to see if Preview was checked - it isn't.
    It happens when we double-click on the arrow to open the move dialouge box, but the box doesn't open - instead the selected item is automatically moved #!@**
    that's what we need to stop... any ideas?

  • How can I extract the results of my squence?

    Hello, I'm a beginer of test Stand.
    I've created a main squence with LabView & TestStand, and works well, when it finish TestStand automatically creates my report. I need to extract these results of my sequence in order to create a custom document automatically, creating an action with LabView that works with these results, without any action of an operator.
    How can I extract these results? Thanks you very much.

    Hello,
    you've got several options here, although it seems you might want to go with the first option:
    1) After running your sequence, you'll find all the results needed for creating a report on the variable Locals.ResultList, which is an array of objects (of the Result type). You can pass this array to external code for it to use the information (i.e. create a report)
    2) You can override the report generation callback on your process model (Test Report callback)and create your own LabVIEW-based report generation sequence/routine
    3) You can modify the report generation sequences on the process model to suit your needs (always make backup copies and place your modifications on the /Components/User folder !)
    I would also recommend you to assist National Instruments Training Courses, as these things can be seen in detail and provide you a better understanding of all the options TestStand has.
    Regards,
    Jorge M.Mensaje editado por Jorge M.

  • How can i extract the text from the PDF files,Power point files,Word files?

    hi friends,
    i need to extract text from the PDF files,Power Point,Ms word files.Is it possible with java?if yes how can i extract text from those files.please give solution this problem.i would be thankful if u provide solution.
    regards,
    prakash.

    Find an API which could read each of those files and start coding.

  • How can i extract the particular data from Base tables

    Hi
    I have some Base R/3- Tables . I need to exact the data from these base tables.
    But i need to select some type of datarecords(eg: select Material Documents from MSEG and MKPF tables based on movement types 261,262).
    Something like that . So how can i select the particular category datarecords from base tables. Anyway im going to create the Custom DataSource.
    So please let me know . how can i extarct tha particular data from base tables
    kumar

    Hi Venkat
    See i have some 5-tables . I need to extarct from these tables.
    first i need to extract the data from one table fully.
    Then i need to extarct the data from second table based on profict centers, company codes of first table.
    Then i need to extract the data from third table based on profict centers of first table and movement type = 2p,2n,2s condition.
    So how can i extarct like this data from multiple tables.
    Please let me know
    kumar

Maybe you are looking for

  • How to populate auditory coumns in jhs application???

    Hi, I have an application with: JDeveloper 10.1.2 Jheadstart 10.1.2 How to populate auditory coumns for create by and modified by ??? ...For the created on and modified on, run correctly... * I have a login page (jsp: user and password textbox) * I p

  • Trouble Connecting To Wireless Network

    Greetings, New iTouch with the new 3.0 software installed. iMac with Leopard 10.5.8 Using a Linksys Wireless Router WRT54G, settings: - Home wireless network does not broadcast SSID - WEP with 10-key password - MAC filter enabled Issue 1: I entered m

  • HT4623 why i cannot open my iphone?

    why i cannot open my iphone?

  • Generic Batch Number assignment via Customer exit

    Hi Folks, The client  requirement is as follows: Once a user enters a batch number customer exit EXIT_SAPLV01Z_002 should be triggered. Here, in this exit via custom logic, i am supposed to create a generic batch code. If the user enters a batch code

  • KM Collaboration Launch Pad Problem

    Hi , I am using EP6 . The Portal shows link for Collaboration Launch Pad but whenever i click over it the following error is occuring: Exception Class: class com.sapportals.wcm.WcmException Exception Message : Cannot get an instance of the presence s