To answer my own question, in case someone else needs the same. The expression for this goes something like this.
plane.scaleX = ( ((10/camera.focalLength) * 3.4) * plane.translateZ );
Repeat for scaleY and Z. 3.4 was the scale I wanted the object in when the focal length was 10. I also added in translate of the plane. So the plane can be moved nearer or further from the camera, and still remain the same size as seen through the camera.
There are probably too many parenthesis in it 
Ragnar