• 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. Create new Y-axis in plot ViVA using OCEAN

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 14242
  • 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

Create new Y-axis in plot ViVA using OCEAN

MatthewLove
MatthewLove over 7 years ago

In the ViVA GUI I can create a second Y-axis on the same plot for data which have very different Y values e.g. inductance and resistance.

Is there a way to do this using OCEAN?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    If the units are different, they should plot on different y axes automatically (assuming you're using IC615 onwards). If you want to force it, you can use the ?yNumber argument:

    plot(v("net24") ?yNumber 1)
    plot(v("net25") ?yNumber 2)

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MatthewLove
    MatthewLove over 7 years ago in reply to Andrew Beckett

    Hi Andrew,

    That solved it, thanks a lot.

    yNumber doesn't look to be in the documentation on IC 6.1.7.

    I'll add for anyone who reads this that for multiple plotted values with a single call to plot, yNumber must be a list.

    In this case Andrew's example would be

    plot(v("net24") v("net25") ?yNumber (list 1 2))

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to MatthewLove

    Hi Matthew,

    Looks like a straightforward mistake. For a while (back in IC614/IC615 timeframe) the ?yNumber argument was not working with plot after we changed the graph infrastructure. There was a CCR to ask for the argument to be removed, but it wasn't restored with the functionality was fixed.

    ocnHelp('plot) still lists it, and I've asked tech pubs to put it back into the documentation.

    Regards,

    Andrew.

    • 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