# [cadence] plot waveVswave problem

#### atwinter

##### Newbie
Hello there!,

I have a question related to Cadence waveform(waveVswave)....After i do the hb simulation(2tone), I want to plot

IM3[dBc] VS Pout[dBm]

Does work well on IM3[dBc] VS Pin(dBm), but IM3[dBc] VS Pout/(dBm) not working, I haven't been able to get this formula to work in any way.

IM3[dBc] equation : (value(ipnVRICurves((v("/I2/POUT" ?result "hb_mt_fi") - 0.0) '(2 -1) '(1 0) ?rport resultParam("I2.PORT2:r" ?result "hb_mt_fi") ?epoint -40) "trace" "3rd Order") - value(ipnVRICurves((v("/I2/POUT" ?result "hb_mt_fi") - 0.0) '(2 -1) '(1 0) ?rport resultParam("I2.PORT2:r" ?result "hb_mt_fi") ?epoint -40) "trace" "1st Order")) -> plot ok!

Powerout equation : dbm(pvr('hb "/I2/POUT" "/gnd!" 50.0 '((1 0)))) -> plot ok!

and I try to this

IM3[dBc] VS Pout[dBm]

db10(waveVsWave(?y (value(ipnVRICurves((v("/I2/POUT" ?result "hb_mt_fi") - 0.0) '(2 -1) '(1 0) ?rport resultParam("I2.PORT2:r" ?result "hb_mt_fi") ?epoint -40) "trace" "3rd Order") - value(ipnVRICurves((v("/I2/POUT" ?result "hb_mt_fi") - 0.0) '(2 -1) '(1 0) ?rport resultParam("I2.PORT2:r" ?result "hb_mt_fi") ?epoint -40) "trace" "1st Order")) ?x dBm(pvr('hb "/I2/RFOUT" "/gnd!" 50.0 '(1))) ?xName "Pout(H1)" ?xUnits "dBm" ?yName IM3")) -> plot fail

(error massage :Hence the two waves can't be plotted against each other.)

it doesn't work.

How can I this problem?