Add colorbar to the multiple xyz overlay plot#2
Add colorbar to the multiple xyz overlay plot#2petrusen wants to merge 2 commits intoradi0sus:mainfrom
Conversation
|
Hi Enric, now I got the FutureWarning regarding Downcasting again. Uncommenting Best, |
|
Hi Sebastian, As far as I can tell, it was related to how the **xyz_df_list ** was constructed. The total number of xyz was always minus one. Instead, if the following function is employed to construct the same list, the issue is solved, and one can get a plot where two and three xyz have different colors. Let me know if you find it useful. |


Hi Sebastian,
I’ve added a colorbar to facilitate the interpretation of the plot that arises from:
python3 xyzoverlay.py multi-mol_trj.xyz -aa -vcm -cm coolwarm -ee Hthe new feature should appear by just adding the keyboard
-cb True:python3 xyzoverlay.py multi-mol_trj.xyz -aa -vcm -cm coolwarm -cb True -ee Hotherwise I think that it was not completely clear how many structures were considered in the plot. In my specific case, it is interesting to know how many steps did it take to optimize the molecular structure with quantum mechanics. Besides, it also helps to point towards the first and last structure, which could be a bit confusing without a color reference.
I hope it may be of interest and let me know if any adjustments are needed!
Best,
Enric