• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. overlay plotting problem

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 13831
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

overlay plotting problem

MatthewM
MatthewM over 13 years ago
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!
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MatthewM
    MatthewM over 13 years ago
    Hi Andrew, Thanks for your quick reply! currently I'm using 5.10.41.500.6.147. Regards, Matt
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MatthewM
    MatthewM over 13 years ago
    Andrew, Thanks a lot! it works like a charm! I really appreciate your quick and professional help. Best Regards, Matt
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information