• 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 Design
  3. Ploting two graphs on wavescan using only 1 y-axis

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 12840
  • 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

Ploting two graphs on wavescan using only 1 y-axis

r7aaex
r7aaex over 14 years ago

Hello, I have question regarding OCEAN "plot" command.  I have two vectors that I wish to plot on the same y-axis but the command defaults to two y-axis.  The question is how can force this to plot on a single y-axis?

 so far I have tried the following but both give all plots in two y-axis.

plot(Gain Phase) 

plot(Gain Phase ?yNumber list(1 1) )

Thanks in advance,

Jorge

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Jorge,

    You need to ensure that the units attribute on the y-vector in the waveform object is consistent. See Solution 11265350

    You could achieve this by doing:

     drGetWaveformYVec(Phase)~>units=drGetWaveformYVec(Gain)~>units
     plot(Gain Phase)

    Although I'm not that sure it makes sense to plot phase and gain on the same axis, but that's up to you of course!

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Jorge,

    You need to ensure that the units attribute on the y-vector in the waveform object is consistent. See Solution 11265350

    You could achieve this by doing:

     drGetWaveformYVec(Phase)~>units=drGetWaveformYVec(Gain)~>units
     plot(Gain Phase)

    Although I'm not that sure it makes sense to plot phase and gain on the same axis, but that's up to you of course!

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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