• 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. Plotting X vs Y data in Ocean

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 13443
  • 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

Plotting X vs Y data in Ocean

RFStuff
RFStuff over 9 years ago

Dear All,
I want to plot X-data (Freq) Vs Y data (Some other results obtained from Ocean Simulation). Is there a way to plot by the script itself in wave-scan ?

Could anybody please tell regarding this.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Not entirely sure I understand what you mean - is the x-axis an expression, or is it the original x-axis from the simulation? If it's the latter then that's just a normal plot. If it's the former, then it's probably just waveVsWave() to generate the waveform, or ocnYvsYPlot() to directly do the plot.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFStuff
    RFStuff over 9 years ago

    Dear Andrew,

    Thanks a lot for your reply.

    Actually my question itself  is confusing.

    What I am doing/wanting is as below:-

    I have written X-data points ( NOT from any simulated wave form) in 1st column of the file.

    Then in the second column of the file I have written the Y-value of one simulated wave form (done by the current OceanScript).

    Now, I want to plot it on WaveScan by using OCEAN Script.

    How this can be achieved.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tom Volden
    Tom Volden over 9 years ago

    plot(getAsciiWave("/path/to/my/file.txt" 1 2))

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFStuff
    RFStuff over 9 years ago
    Dear Tom, Thanks a lot !
    • 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