• 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. Insert a tangent line into a plot

Stats

  • Locked Locked
  • Replies 13
  • Subscribers 125
  • Views 21791
  • 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

Insert a tangent line into a plot

CESA
CESA over 8 years ago

Hi everyone,

I want to know if it is possible to insert a tangent line into a plot, tangent to it, with a certain slope and at certain (x,y).

Regards.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    How about using the tangent function in the calculator?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • CESA
    CESA over 8 years ago
    Hi Andrew, thank you for the suggestion. I have tried that and what I get is not a curve with the slope I want. I get a simple horizontal line with its y-value equal to the slope.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    That wasn't how it behaved when I used it. You provide a waveform (signal) as the input so that it can use the same x-axis points, an x and y intercept point, and a slope - having done that, it worked perfectly for me.

    Which IC subversion are you using (what does getVersion(t) return in the CIW, or the Help->About window say?)

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • CESA
    CESA over 8 years ago
    I have tried that. The input, as for an example, is the mosfet Ids vs Vgs characteristic. Sub-version .500.12.

    Thanks.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    There are probably at least 6 major versions with that subversion (spanning 10 years). What is the full subversion number? Then I'll check and put together a small example.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • CESA
    CESA over 8 years ago
    Sorry Andrew. It pasted only half of the text. This is the sub-version: IC6.1.6-64b.500.12.

    Thanks for your help.

    Regards.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    No problem - it happens.

    I just tried in that version. To make it nicer, I used the value() at my desired intercept point so that it intersected the line (this is a DC sweep of VGS for a transistor):

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • CESA
    CESA over 8 years ago
    Andrew, thanks. Still not get the tangent curve I want. I didn't tell you but I am using the waveform function as well because I want to have a different x-axis value. Could this be the problem?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Can you share what you're actually doing? i.e. the expression you're trying to use - a screenshot of the curves, and so on? Otherwise I'm stabbing in the dark here...

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • CESA
    CESA over 8 years ago

    EDIT: Andrew I managed to find the problem. I have forgotten to put the e-5.

    Thanks for the help.

    • 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