Thanks for your reply, RFICDUDE.
What I really want to do is to digitally calibrate IIP2 of the mixer, so I really care about the exact IIP2 after each calibration step. In this case, if I avoid this hassle and do the parametric analysis, sweep the input current, and do not rely on the direct plot function, I need to calculate IIP2 from the plot by myself. I guess it is doable by writing the script or something? I am not sure about that since I really have few experience on it
![Embarrassed Embarrassed](https://designers-guide.org/forum/Templates/Forum/default/embarassed.gif)
I am struggling on which way to choose (changing input/output according to your instruction but not sure if it is the exact IIP2 or writing script to calculate IIP2).
By the way, you mentioned dBi in your previous answers.. isn't it referred to the gain of an antenna compared with isotropic antenna? Does it have other meaning here? It seems to be 10log(i^2) from your calculation, but what is it? I dont really get it here.
Thank you again for your help