The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 19th, 2024, 3:46am
Pages: 1
Send Topic Print
plotStyle() isn't valid for Cadence Wavescan. (Read 7919 times)
pancho_hideboo
Senior Fellow
******
Offline



Posts: 1424
Real Homeless
plotStyle() isn't valid for Cadence Wavescan.
Jul 18th, 2008, 5:56pm
 
Hi.

Spectrum is plotted with bar style automatically in Cadence Wavecan,
so I would like to change its style to "joined" using skill or ocean function.

I use plotStyle( ’joined ) for this purpose in Cadence AWD.
But this plotStyle() isn't valid for Cadence Wavescan.

What function is available for changing plot style in Cadence Wavescan ?
Back to top
 
« Last Edit: Jul 19th, 2008, 3:11am by pancho_hideboo »  
View Profile WWW Top+Secret Top+Secret   IP Logged
pancho_hideboo
Senior Fellow
******
Offline



Posts: 1424
Real Homeless
Re: plotStyle() isn't valid for Cadence Wavescan.
Reply #1 - Nov 28th, 2008, 8:15pm
 
Any expert of Cadence Tool.
Teach me if any idea.
Back to top
 
 
View Profile WWW Top+Secret Top+Secret   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

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

Posts: 1742
Bracknell, UK
Re: plotStyle() isn't valid for Cadence Wavescan.
Reply #2 - Jan 2nd, 2009, 8:47am
 
Huh?

plotStyle() is supported when wavescan is the waveform tool. I knew this worked, but I just checked, in case it had broken and I'd not noticed... well, it work correctly.

The only downside is that wavescan supports more modes than AWD did, and they're not all available via plotStyle() (I think I have a CCR for this), but in general that's not a big problem.

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
pancho_hideboo
Senior Fellow
******
Offline



Posts: 1424
Real Homeless
Re: plotStyle() isn't valid for Cadence Wavescan.
Reply #3 - Jan 6th, 2009, 8:18pm
 
Andrew Beckett wrote on Jan 2nd, 2009, 8:47am:
plotStyle() is supported when wavescan is the waveform tool. I knew this worked,

Still plotStyle('joined) doesn't work.
Attached figure is Wavescan.

Quote:
;ocnWaveformTool('awd)
ocnWaveformTool('wavescan)

awvSetOptionValue('dateStamp t)
awvSetOptionValue('displayGrids t)
awvSetOptionValue("cursorPrecision" 9)
awvSetOptionValue("displayAxesBy125" t)
pi = acos(-1.0)
date = getCurrentTime()

Title = "Confirmation of plotStyle()"

wid = newWindow()
addTitle(Title)
bid = currentSubwindow(1)

base_dir = "./"

sim_data = "qpss_hb3.raw"
openResults( strcat(base_dir, "/", sim_data) )
selectResult("qpss_fd")
Vif=getData("Pif")
plot( db20(Vif) ?expr '("Spectre") )
plotStyle('joined)
;plotStyle('bar)

yLimit( list(-100, 0) )
awvSetXAxisLabel(wid "frequency [Hz]"  ?subwindow bid)
awvSetYAxisLabel(wid 1 "Vif [dBV]" ?subwindow bid)

Back to top
 

aho_001.jpg
View Profile WWW Top+Secret Top+Secret   IP Logged
pancho_hideboo
Senior Fellow
******
Offline



Posts: 1424
Real Homeless
Re: plotStyle() isn't valid for Cadence Wavescan.
Reply #4 - Jan 6th, 2009, 8:22pm
 
Attached figure is AWD.
In this case, plotStyle('joined) does work.
Back to top
 

boke_001.jpg
View Profile WWW Top+Secret Top+Secret   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

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

Posts: 1742
Bracknell, UK
Re: plotStyle() isn't valid for Cadence Wavescan.
Reply #5 - Jan 6th, 2009, 11:08pm
 
I'll look into this and get back to you. It worked when I tried it before I posted - so I'll see if I can repeat your problem, and understand why it happens...

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

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

Posts: 1742
Bracknell, UK
Re: plotStyle() isn't valid for Cadence Wavescan.
Reply #6 - Jan 7th, 2009, 9:40am
 
It seems that there's a bug - it doesn't allow you to set it to joined if the waveform being plotted already has the plotStyle set to "bar". This will be true of some waveforms coming from simulation, but not all - which is why it worked for me, but didn't work for Pancho Hideboo.

I'll file a CCR for this.

In the meantime, if you do this:

Code:
Vif=getData("Pif")
Vif->plotStyle='joined ; could be set to nil too
plot( db20(Vif) ?expr '("Spectre") ) 



in your code, it will then work.

This workaround works regardless of using wavescan or AWD.

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
pancho_hideboo
Senior Fellow
******
Offline



Posts: 1424
Real Homeless
Re: plotStyle() isn't valid for Cadence Wavescan.
Reply #7 - Jan 7th, 2009, 4:28pm
 
Andrew Beckett wrote on Jan 7th, 2009, 9:40am:
Vif=getData("Pif")
Vif->plotStyle='joined ; could be set to nil too
plot( db20(Vif) ?expr '("Spectre") )

Thanks. This can work.
Back to top
 

nasu.jpg
View Profile WWW Top+Secret Top+Secret   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

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

Posts: 1742
Bracknell, UK
Re: plotStyle() isn't valid for Cadence Wavescan.
Reply #8 - Jan 8th, 2009, 9:59am
 
I filed CCR number 628706 for this.

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.