The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 2:36am
Pages: 1
Send Topic Print
OCEAN changing axis to log (Read 2168 times)
makelo
Community Member
***
Offline



Posts: 34
Hillsboro, OR
OCEAN changing axis to log
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)
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: OCEAN changing axis to log
Reply #1 - 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.
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.