Home > Community > Forums > Custom IC SKILL > overlay plotting problem

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 overlay plotting problem 

Last post Fri, Mar 2 2012 10:30 AM by MatthewM. 4 replies.
Started by MatthewM 02 Mar 2012 09:55 AM. Topic has 4 replies and 1562 views
Page 1 of 1 (5 items)
Sort Posts:
  • Fri, Mar 2 2012 9:55 AM

    • MatthewM
    • Not Ranked
    • Joined on Fri, Jul 22 2011
    • Posts 10
    • Points 140
    overlay plotting problem Reply
    Hi There, I have a problem about overlay plotting by ocean script, my code is like this: ==================================== w = newWindow(); foreach( var varlist list1 = ... list2 = ... awvPlotList( w list(list1) list2) ) ==================================== basically I want to plot a bunch of curve on the same window, but it seems that the awvPlotList will erase the previous plot. I noticed that in ADE, we can change the plotting mode to append, is there any corresponding ocean function to achieve this? I google it but got nothing. Any idea to solve this? Thanks a lot!
    • Post Points: 20
  • Fri, Mar 2 2012 10:04 AM

    Re: overlay plotting problem Reply

    Which version are you using? I just tried in IC615 (latest hotfix), and each call to awvPlotList appends to the previous results.

    Rather than me testing in every possible version, could you let me know what getVersion(t) returns?

    Regards,

    Andrew.

    • Post Points: 20
  • Fri, Mar 2 2012 10:08 AM

    • MatthewM
    • Not Ranked
    • Joined on Fri, Jul 22 2011
    • Posts 10
    • Points 140
    Re: overlay plotting problem Reply
    Hi Andrew, Thanks for your quick reply! currently I'm using 5.10.41.500.6.147. Regards, Matt
    • Post Points: 20
  • Fri, Mar 2 2012 10:19 AM

    Re: overlay plotting problem Reply

    Matthew,

    If you use the ?index argument to awvPlotList, you can get them to append. For example:

    w=newWindow()
    awvPlotList(w '((1 2 3) (8 7 6)) '(4 5 6) ?index list(1 2))
    awvPlotList(w '((8 2 5) (7 9 5)) '(4 5 6) ?index list(3 4))

    In other words, make sure you use a unique index for each trace you're plotting.

    I tried this in  5.10.41.500.6.151 with both AWD and wavescan as the waveform tools.

    Regards,

    Andrew.

    • Post Points: 20
  • Fri, Mar 2 2012 10:30 AM

    • MatthewM
    • Not Ranked
    • Joined on Fri, Jul 22 2011
    • Posts 10
    • Points 140
    Re: overlay plotting problem Reply
    Andrew, Thanks a lot! it works like a charm! I really appreciate your quick and professional help. Best Regards, Matt
    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by MatthewM at 02 Mar 2012 09:55 AM. Topic has 4 replies.