A gate can be made up of regions or other gates. Gates are defined by using "Edit Regions / Gates" in the "Data Files" menu. You can use parentheses and the Boolean operators "and", "or" and "not" to define gates. Gate definitions are entered in the dialog in the field "Strategy". If a region or gate has a space in its name, surround it with quotes (").

After entering the strategy, FCSalyzer attempts to understand the strategy. If it succeeds, the decoded strategy is shown in the field "Decoded". It's a good idea to check if the decoded strategy is what you had planned it to be. If FCSalyzer doesn't understand what is going on, the gate will be invalid and appear grayed out. Gates are also be invalid, if they contain a circular reference, for example that G0 is defined as "G1" and G1 is defined as "G0".
Gates can be renamed by clicking on the field "Gate Name". Not all names are allowed. You can't use "and", "or", "not", a name already used as a region or gate name, or quotes or parentheses in names.
The color of a gate is changed by clicking on the "Color" field. This color is used to color events falling into the respective gate in dot plots.
To apply a gate to a given plot, use the gate drop-down menu in the menu bar.