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

Discussion in 'Cadence' started by Frank, Jul 3, 2006.

  1. Frank

    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
     
    Frank, Jul 3, 2006
    #1
  2. 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, Aug 2, 2006
    #2
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.