Hi,
3DPlot uses the active STF in the target image. As you have discovered, if you want a lineal 3D plot you have to reset the STF. When I modified the original script written by David Serrano this was the easiest way to configure the scale in the Z axis.
AnnotateImage does something similar, but it lets you to choose if you want to use the STF or not.