The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> OCEAN changing axis to log
https://designers-guide.org/forum/YaBB.pl?num=1167425900

Message started by makelo on Dec 29th, 2006, 12:58pm

Title: OCEAN changing axis to log
Post by makelo on Dec 29th, 2006, 12:58pm

I using OCEAN to develop a testbench.  I have found it useful for controlling many features of the graph but I cannot find any documentation on how to change the x or y-axis from normal to log.  Is there a OCEAN or SKILL command that I can add for this.

Thanks,
Makelo

graphicsOff()
plot( v("/clk") v("/Q") ?yNumber list(1 2) ?expr list( "Clk" "Q"))
Qmax=ymax( v("/Q"))+.1
Qmin=ymin( v("/Q"))-.1
displayMode("strip")
addSubwindowTitle( "Transient")
yLimit( list(Qmin Qmax) ?stripNumber 2)
addSubwindow()
graphicsOn()
plot(dft(i("/V7/PLUS") 6n 30n 1024 "Rectangular") ?expr list("I(Clk)") )
xLimit( list(-1e8 5e9))
addSubwindowTitle( "Frequency")
printf("Max Q is %L\n" Qmax)

Title: Re: OCEAN changing axis to log
Post by Andrew Beckett on Jan 12th, 2007, 6:04am

The function awvLogXAxis() will do this.

In IC610, this kind of axis property can be set with a new function ocnSetAttrib(?XScale 'log).

Regards,

Andrew.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.