[ase-users] Magnetic Moment Colors in ASE GUI

Michael Walter Michael.Walter at fmf.uni-freiburg.de
Wed May 22 07:45:46 CEST 2019


On Wed 22. May 2019 at 01:55, Ask Hjorth Larsen via ase-users <
ase-users at listserv.fysik.dtu.dk> wrote:

> Hi,
>
> Am Mi., 22. Mai 2019 um 00:08 Uhr schrieb Michael Joseph Waters via
> ase-users <ase-users at listserv.fysik.dtu.dk>:
> >
> > Hi all,
> >
> >
> > Where are magnetic moment colors in the ase gui code? I'd like change
> them since the green-yellow scale is hard on those with color blindness.
>
> Thanks, please see ase/gui/view.py, "get_color_scalars()" and
> "get_colors()".
>
> I think the colour scale might be the same as for other colouring
> modes.  If other colouring modes are okay, maybe the magmom values
> just need to be scaled up to span a larger part of the scale.  I don't
> know for sure though.


Pull the trunk version and enjoy switching to every color mode matplotlib
provides.

Best.
Michael


>
> Best regards
> Ask
>
> >
> >
> > Best,
> >
> > -Mike
> >
> > _______________________________________________
> > ase-users mailing list
> > ase-users at listserv.fysik.dtu.dk
> > https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
>
-- 
------------------------------------------
PD Dr Michael Walter
Addresses:
- Fraunhofer IWM, Wöhlerstrasse 11, D-79108 Freiburg i. Br., Germany
  Tel.: +49 761 5142 296
- FIT Freiburg Centre for Interactive Materials and Bioinspired
Technologies, Georges-Köhler-Allee 105, 79110 Freiburg, Germany
  Tel: +49 761 203 95072
email: Michael.Walter at fmf.uni-freiburg.de
www: http://www.functional-nanosystems.uni-freiburg.de/People/PDWalter/group
publications: http://scholar.google.com/citations?user=vlmryKEAAAAJ&hl=en
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20190522/0f232ff9/attachment-0001.html>


More information about the ase-users mailing list