sewkokot / opsvis

OpenSeesPy postprocessing and plotting module
GNU General Public License v3.0
35 stars 21 forks source link

Show load as magnitude because the direction is already shown #39

Closed mhscott closed 1 year ago

mhscott commented 1 year ago

The plot_loads_2d function shows the proper direction of loads of negative magnitude, but the label still shows a negative value, implying a possible "double negative" interpretation, e.g., the -18.893 downward load shown below. My suggestion is to use abs() on the numbers after flipping the load arrows.

image

mhscott commented 1 year ago

@sewkokot Looks like a simple fix, but wanted to run it by you before making a PR

sewkokot commented 1 year ago

@mhscott Thank you, indeed the double negative interpretation can be misleading. I will fix it and release a new version, this week.

sewkokot commented 1 year ago

@mhscott Please update the package and let me know if it works.