Alan wrote, "I want to plot the LOOPGAIN, that is the Openloop gain minus the Closed Loop gain. or LG=OLG-CLG ( in log term)."
I think you have a problem because there is more than one feedback loop.? Someone might argue that there is no clear concept of what is "openloop gain".? Is it the gain when both loops are open?? When only one of them is open?? Technically, from the point of view of the overall loop's outer feedback path, the inner op-amp has only an open-loop gain because its "closed loop gain" is effective only from its non-inverting input pin.