﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
2017	Reversing color palettes	olibclarke@…	Conrad Huang	"{{{
The following bug report has been submitted:
Platform:        Darwin-18.6.0-x86_64-i386-64bit
ChimeraX Version: 0.9 (2019-06-05)
Description
Minor feature request re palettes:

The Colorbrewer palettes are great, and I love that we can easily select how many colors to interpolate through by changing the name.

Would it be possible to add a similar modifier (e.g. ""R"") to the end to reverse the palette? This would be useful when using these palettes for rainbow coloring - e.g. I like the RdYlBu-5 palette for rainbow coloring protein molecules, but it is the wrong way around for the conventional N=Blue --> C=Red coloring.

(or maybe a ""reverse"" keyword for the rainbow or color sequential command would do the trick)

Cheers
Oli

Log:
> camera ortho

> cofr centerOfView

> alias crosshairs_on cofr centerofview showpivot 10,0.3

> alias crosshairs_off cofr centerofview showpivot false

UCSF ChimeraX version: 0.9 (2019-06-05)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> help alias

> alias ^rainbow_ryb rainbow $1
""#2F7AB4"",""#ACD9E8"",""#FFFFC2"",""#FCAF68"",""#D62328""

> open
/Users/oliverclarke/Dropbox/last_frame_rsr_ligands_real_space_refined_ss_annotated.pdb

Chain information for
last_frame_rsr_ligands_real_space_refined_ss_annotated.pdb #1  
---  
Chain | Description  
A B G I | No description available  
C D E K | No description available  
F H J O | No description available  
  

Unknown command: rainbow_ryb  

Unknown command: rainbow_ryb chain  

> alias rainbow_ryb rainbow $1
""#2F7AB4"",""#ACD9E8"",""#FFFFC2"",""#FCAF68"",""#D62328""

> rainbow_ryb chain

Expected a keyword  

> rainbow_ryb chains

Expected a keyword  

> help rainbow

Expected one of 'chains', 'polymers', 'residues', or 'structures' or a keyword  

Expected a keyword  

> rainbow chains palette rdylbu-5

> rainbow palette rdylbu-5

> rainbow palette rdylbu-5

Fetching compressed palette BuYlRd-5 from
http://www.colourlovers.com/api/palettes?keywords=BuYlRd-5&format=json&numResults=100  
Could not find palette BuYlRd-5 at COLOURlovers.com using keyword search  

> rainbow palette rdylbu-5




OpenGL version: 4.1 ATI-2.9.26
OpenGL renderer: AMD Radeon Pro 580 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

}}}
"	enhancement	closed	normal		Depiction		fixed		Tom Goddard Elaine Meng Greg Couch				all	ChimeraX
