Opened 8 years ago

Closed 8 years ago

#969 closed enhancement (fixed)

Color subcommands for zone, map, etc.

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: moderate Milestone: 0.7
Component: Command Line Version:
Keywords: Cc:
Blocked By: Blocking: 581
Notify when closed: Platform: all
Project: ChimeraX

Description

Tom G:
Maybe the color command would be easier to grasp if zone and map were made subcommands

color zone #1 near #2 distance 5
color sample #1 map #2 palette spectral range 0,10 offset 1.5

and future additions like radial coloring and range color could follow this pattern of using subcommands

color radial #1 center #2 palette p
color range #1 attribute bfactor

Elaine:
I agree with making the various kinds of of coloring into subcommands, certainly:

color sequential
color zone

… I’m OK with the “sample” or “range” subcommands you proposed, but maybe other words would be better, e.g. “bymap” or “byattribute”

… we already have subcommandss for managing the list of named colors

color name
color delete
color list
color show

… and as you said, it works for future additions like

color radial
color cylindrical
color height -OR- color topography

Change History (3)

comment:1 by Tom Ferrin, 8 years ago

Milestone: 0.7

comment:2 by Tom Ferrin, 8 years ago

Blocking: 581

comment:3 by Tom Goddard, 8 years ago

Resolution: fixed
Status: assignedclosed

Done.

Made color subcommands zone, sequential, electrostatic, sample, gradient, radial, cylindrical, height
and removed the zone and map options from the main color command.

Removed the scolor command.

Did not add coloring by attribute value.

Note: See TracTickets for help on using tickets.