logarithmic step for ocnPrint() function?

Discussion in 'Cadence' started by stephen.greenwood, Mar 3, 2006.

  1. In the past, I've successfully used the ocnPrint() function to print
    waveform object data to files. It works very well when one wishes to
    see data with a constant step, such as a transient waveform, as
    specified by the ?step argument to the function. But sometimes one
    wishes to see data that is best viewed with a logarithmic x-axis
    (abscissa), and so one wants to print the data with a logarithmic
    (rather than constant) step. Reading the documentation for ocnPrint()
    offers no clue as to how to do this, so I suspect it is simply not
    supported by ocnPrint(). Does anyone know if it can be done? Or, does
    anyone know another method by which the same task can be accomplished?

    I thank all respondents in advance.
     
    stephen.greenwood, Mar 3, 2006
    #1
  2. The most likely case when you want to plot something with a log step is when the
    analysis was done with a log step (e.g. some kind of frequency sweep). If that's
    the case, simply omit the ?step argument, and it will output the data points
    actually supplied.

    Does that do what you want? If not, perhaps you could give an example of why you
    need a log step - it might help to visualise it, and I can perhaps then provide
    an alternative approach.

    Regards,

    Andrew.
     
    Andrew Beckett, Mar 3, 2006
    #2
  3. Yes, that does exactly what I want. (Boy, do I feel boneheaded. The
    documentation shows ?step as an *optional* argument, but I never
    thought to leave it out.)

    Thank you, Andrew. Now that I'm writing here, let me also take the
    opportunity to thank you for answering many other questions I've had by
    your responses in the archives. You've been very helpful over the last
    couple years.
     
    stephen.greenwood, Mar 6, 2006
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.