spinw icon indicating copy to clipboard operation
spinw copied to clipboard

Small visualization bug when plotting unit cell?

Open henrikjacobsenfys opened this issue 7 years ago • 2 comments

Hi Sandor

It seems in a monoclinic structure that clicking and the a, b and c icons don't actually make one look down that axis. Instead, it seems that we look down the a*, b* and c* axes.

Cheers

Henrik

henrikjacobsenfys avatar May 17 '17 15:05 henrikjacobsenfys

You are right, the a, b and c buttons change the view to look along the a*, b* and c* axes, I probably should change it in the future to look along the a, b and c-axes. Alternatively you can use the command swplot.view() to change the view. Which has a single letter as input: 'a', 'b' and 'c' to get the same orientations as with the 3 buttons on the figure and you can use 'h', 'k' and 'l' to look along the abc axes. I realised the notation is confusing here as well, so I will change this also in the next version.

tsdev avatar May 24 '17 07:05 tsdev

I see, so it's simply a misunderstanding of what the buttons mean. Thanks for answering :)

henrikjacobsenfys avatar May 25 '17 16:05 henrikjacobsenfys