Changing x-asis on a family of waves

S

Svenn Are Bjerkem

Guest
Hi,

I have successfully ben able to change the x-axis of a single simulation
result:

(setq to_be_x (clip VT("/sig1")))
(setq useful_signal (clip VT("/sig2")))

(setq new_x_axis (drGetWaveformYVec to_be_x))
(drPutWaveformXVec useful_signal new_x_axis)

(plot useful_signal)

sig1 and sig2 are two signals from the same simulation with the same x-
axis and same number of points. I am so to speak plotting sig2 vs sig1.

Now if I run a corner simulation and try the same, then icfb exits with
a segmentation fault.

My question is if I am misunderstanding the functionality of
drPutWaveformXVec when I try to use it on a family of waveforms or if it
is not currently supported to change the x-axsis of a family in one run
like this.

I guess that ripping the family apart, changing x-axis for each single
member and then putting together a new family before sending it off to
plot, would be a work-around (which I will try next)

--
Svenn
 
On Thu, 10 Nov 2005 13:31:02 +0100, Svenn Are Bjerkem <svenn.are@bjerkem.de>
wrote:

Hi,

I have successfully ben able to change the x-axis of a single simulation
result:

(setq to_be_x (clip VT("/sig1")))
(setq useful_signal (clip VT("/sig2")))

(setq new_x_axis (drGetWaveformYVec to_be_x))
(drPutWaveformXVec useful_signal new_x_axis)

(plot useful_signal)

sig1 and sig2 are two signals from the same simulation with the same x-
axis and same number of points. I am so to speak plotting sig2 vs sig1.

Now if I run a corner simulation and try the same, then icfb exits with
a segmentation fault.

My question is if I am misunderstanding the functionality of
drPutWaveformXVec when I try to use it on a family of waveforms or if it
is not currently supported to change the x-axsis of a family in one run
like this.

I guess that ripping the family apart, changing x-axis for each single
member and then putting together a new family before sending it off to
plot, would be a work-around (which I will try next)
Hi Svenn,

You can probably use famMap to do this - to iterate over the members of
the family and then do the drPutWaveformXVec on each child waveform.

Regards,

Andrew.
 
I believe there's a pcr on this issue: pcr 756405.

-Jess


Andrew Beckett wrote:
On Thu, 10 Nov 2005 13:31:02 +0100, Svenn Are Bjerkem <svenn.are@bjerkem.de
wrote:

Hi,

I have successfully ben able to change the x-axis of a single simulation
result:

(setq to_be_x (clip VT("/sig1")))
(setq useful_signal (clip VT("/sig2")))

(setq new_x_axis (drGetWaveformYVec to_be_x))
(drPutWaveformXVec useful_signal new_x_axis)

(plot useful_signal)

sig1 and sig2 are two signals from the same simulation with the same x-
axis and same number of points. I am so to speak plotting sig2 vs sig1.

Now if I run a corner simulation and try the same, then icfb exits with
a segmentation fault.

My question is if I am misunderstanding the functionality of
drPutWaveformXVec when I try to use it on a family of waveforms or if it
is not currently supported to change the x-axsis of a family in one run
like this.

I guess that ripping the family apart, changing x-axis for each single
member and then putting together a new family before sending it off to
plot, would be a work-around (which I will try next)

Hi Svenn,

You can probably use famMap to do this - to iterate over the members of
the family and then do the drPutWaveformXVec on each child waveform.

Regards,

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top