[ase-users] Reverse color maps in ASE GUI?
Andrew Logsdail
LogsdailA at cardiff.ac.uk
Wed Apr 8 16:57:48 CEST 2020
Ignore this question - just realised I can reverse the limits i.e. min = +q, max = -q.
Apologies for spamming everyone…!
Andy
On 8 Apr 2020, at 15:56, Andrew Logsdail <LogsdailA at cardiff.ac.uk<mailto:LogsdailA at cardiff.ac.uk>> wrote:
Hi,
Is there a reason that reverse colour maps are disabled for coloring atoms in ASE GUI, as per this line: https://gitlab.com/ase/ase/-/blob/master/ase/gui/colors.py#L95<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.com%2Fase%2Fase%2F-%2Fblob%2Fmaster%2Fase%2Fgui%2Fcolors.py%23L95&data=02%7C01%7CLogsdailA%40cardiff.ac.uk%7Ce2bc681c315847454b0608d7dbccf96e%7Cbdb74b3095684856bdbf06759778fcbc%7C1%7C0%7C637219545718872420&sdata=nu1G3kZ5FipjflwIn6ZN%2FUpV0%2BAaMHR3RESAmXeh8ZU%3D&reserved=0>
In particular, I’d like to use the bwr (blue-white-red) in the traditional manner for +q and -q, but this would require the bwr_r colormap as the numerical limits are setup the opposite way round currently (i.e.-q to +q run blue to red); happy to edit source code if necessary, but wondered if there was a reason this wasn’t generally available.
Thanks in advance,
Andy
—
Dr. Andrew Logsdail
School of Chemistry,
Cardiff University,
Main Building,
Park Pl,
Cardiff CF10 3AT
Yr Ysgol Cemeg,
Prifysgol Caerdydd,
Y Prif Adeilad,
Plas-y-Parc,
Caerdydd,
CF10 3AT
T/F: +44 2922 510 162
E: LogsdailA at cardiff.ac.uk<mailto:LogsdailA at cardiff.ac.uk>
W: http://logsdail.github.io<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flogsdail.github.io%2F&data=02%7C01%7CLogsdailA%40cardiff.ac.uk%7Ce2bc681c315847454b0608d7dbccf96e%7Cbdb74b3095684856bdbf06759778fcbc%7C1%7C0%7C637219545718882413&sdata=x0Uzar2%2F%2BmmkHzLIGOcwKTAMsQ5B48M%2BZTuu%2Bqu%2FFsE%3D&reserved=0>
@: http://www.twitter.com/a_logsdail<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Fa_logsdail&data=02%7C01%7CLogsdailA%40cardiff.ac.uk%7Ce2bc681c315847454b0608d7dbccf96e%7Cbdb74b3095684856bdbf06759778fcbc%7C1%7C0%7C637219545718882413&sdata=vQ96WHhBBhxy3pSSzzVbuLJ1DjOsVszRqj03qGhU3eU%3D&reserved=0>
The University welcomes correspondence in Welsh or English.
Mae'r Brifysgol yn croesawu gohebiaeth yn Gymraeg neu'n Saesneg.
Please note: I sometimes work irregular hours. I don’t expect you to read, action or respond out of your normal work hours.
—
Dr. Andrew Logsdail
School of Chemistry,
Cardiff University,
Main Building,
Park Pl,
Cardiff CF10 3AT
Yr Ysgol Cemeg,
Prifysgol Caerdydd,
Y Prif Adeilad,
Plas-y-Parc,
Caerdydd,
CF10 3AT
T/F: +44 2922 510 162
E: LogsdailA at cardiff.ac.uk<mailto:LogsdailA at cardiff.ac.uk>
W: http://logsdail.github.io
@: http://www.twitter.com/a_logsdail
The University welcomes correspondence in Welsh or English.
Mae'r Brifysgol yn croesawu gohebiaeth yn Gymraeg neu'n Saesneg.
Please note: I sometimes work irregular hours. I don’t expect you to read, action or respond out of your normal work hours.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20200408/6e380c8b/attachment-0001.html>
More information about the ase-users
mailing list