logarithmic step for ocnPrint() function?

Guest
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.
 
On 2 Mar 2006 17:18:38 -0800, stephen.greenwood@gmail.com wrote:

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.
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 wrote:

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.
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.
 

Welcome to EDABoard.com

Sponsor

Back
Top