[OCEAN] How to plot a waveform in log scale for x-axis?

F

Frank

Guest
I am trying to use OCEAN script to automate the generation of several
plots. Is there any way to plot a waveform with x-axis in log scale? Or
is there any way to change a plot in linear scale to log scale for
x-axis?

Thanks,

Frank
 
On 2 Jul 2006 21:44:17 -0700, "Frank" <chientm@gmail.com> wrote:

I am trying to use OCEAN script to automate the generation of several
plots. Is there any way to plot a waveform with x-axis in log scale? Or
is there any way to change a plot in linear scale to log scale for
x-axis?

Thanks,

Frank
Use the awvLogXAxis() function. This is documented - the quick reference
information gives:


awvLogXAxis(
w_windowId
g_state
[?subwindow x_subwindowID]
)
=> t/nil

Sets the X axis for a strip in a subwindow to display logarithmically
if the g_state flag is set to t. If g_state is not set to t,
the display is set to linear.



So you should be able to do:

awvLogXAxis(currentWindow() t)

Andrew.

--
Andrew Beckett
Principal European Technology Leader
Cadence Design Systems, UK.
 

Welcome to EDABoard.com

Sponsor

Back
Top