Closed SJanas closed 5 years ago
There are two possible issues in the above:
ax.set_axis(v1,v2)
taking two HKL vectors as input. This will then calculate the corresponding lengths in actually 1/A units such that the two vectors are inside of the axis.Keeping the axis positive and the projection vector with its original sign is achieved in bff944507f4d3b6b5ba9a5e213ec61c98ad3336d. This might then results in axis where projection vectors are both negative. More padding is also introduced to avoid overlab between colorbar and the added tick marks to the right of RLU axes (82e9d8042c61166c9536f82472207f3aa99f8828).
Using the Tutorial on Plotting a Q plane for constant energy for non-rectangular rlu. Plotting axis appear reversed. When setting ax.set_xlim(-2,3) ax.set_ylim(-2,3) I seem to get a reverse y-axis going from -3 (top) to +2 (bottom) instead:
Might be intended behaviour, but was not as expected :)