How to display the lateral displacement of the model in 3DEC7.0

Hi,
In 3DEC7.0, displacement cloud plots for the x, y, and z directions as well as a magnitude displacement (sqrt(x^2+y^2+z^2)) cloud plot can be displayed. I want to display the lateral displacement (sqrt(x^2+y^2)) of the model. How can I achieve this?
Thanks in advance!

You would have to use FISH and put info in an extra variable for plotting. Example:

fish def horizontal_disp
loop foreach gp block.gp.list
block.gp.extra(gp) = math.sqrt(block.gp.disp.x(gp)^2 + block.gp.disp.y(gp)^2)
end_loop
end

Make sure you contour by Gp Extra

Hi, @jhazzard
I achieved the desired drawing effect using the FISH you provided. Thank you for your assistance.
Wish you a happy life!
JLUJYP