traja-team / traja

Python tools for spatial trajectory and time-series data analysis
https://traja.readthedocs.io
MIT License
98 stars 25 forks source link

plot_grid is rotating the grid #100

Closed OmegAshEnr01n closed 4 months ago

OmegAshEnr01n commented 1 year ago

The traja plot_grid function seems to be rotating the matrix while plotting. This is quite problematic as the purpose of the function is defeated.

image

image

As you can see this is the plot and the associated histogram plot. This function is especially problematic when the trajectory plot fire is a very narrow rectangle.

image

JustinShenk commented 1 year ago

Hi, thanks for pointing this out! The histogram and grid rotation has been fixed in the latest version (v22.0.0).

On Mon, Oct 10, 2022 at 10:04 AM OmegAshEnr01n @.***> wrote:

The traja plot_grid function seems to be rotating the matrix while plotting. This is quite problematic as the purpose of the function is defeated.

[image: image] https://user-images.githubusercontent.com/16122509/194821779-e1142049-ccc0-4349-9272-286af890fd46.png

[image: image] https://user-images.githubusercontent.com/16122509/194821808-f677e554-5f2b-40cc-9f87-5a458dd265c9.png

As you can see this is the plot and the associated histogram plot. This function is especially problematic when the trajectory plot fire is a very narrow rectangle.

[image: image] https://user-images.githubusercontent.com/16122509/194822011-2a618cdc-e20e-45d2-8738-c3b956c2822d.png

— Reply to this email directly, view it on GitHub https://github.com/traja-team/traja/issues/100, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACOLMZAPWVXCSQEFRDOLBX3WCPEZBANCNFSM6AAAAAARBDEVJ4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>