StollLab / EasySpin

MATLAB toolbox for Electron Paramagnetic Resonance (EPR) spectroscopy
http://easyspin.org
MIT License
48 stars 26 forks source link

levelsplot function feature enhancements suggestions #271

Closed cerium1925 closed 1 year ago

cerium1925 commented 1 year ago

Although we can beautify the energy level diagram with the custom output of the levels function. But I personally think it would be better if we could integrate levelsplot's output parameters such as field, direction, and frequency labeling directly into this function.

Screenshot 2022-11-17 112302 Screenshot 2022-11-17 112330
cerium1925 commented 1 year ago

Orientation, especially.

stestoll commented 1 year ago

I don't quite understand what you are suggesting. Please clarify.

cerium1925 commented 1 year ago
1 2 3 4 5 6
  1. As above Figs show, we can add infos of ori or mw in form of MATLAB legend or title functions. because the ori or mv is most important contents. So I recommend including the ori by default in the levelplot function as well.

  2. The default mv annotation is not the same size as the self-added MATLAB title/legend font?

  3. The content of the matlab function title will change as the mouse moves? Random "level nmu" or "transition amplitude and energy level"?

  4. Letter case should be equivalent to ori. This means that 'x' and 'X' are both representations of ori. Currently levelplot recognizes only lowercase letters.

cerium1925 commented 1 year ago
Screenshot 2022-12-18 200323

xyz.txt

Demo script

stestoll commented 1 year ago

Good suggestion to display the orientation!