void vector() throws ScriptException {
		short mad = 1;
		if (statementLength > 1) {
			switch (statement[1].tok) {
			case Token.on:
				break;
			case Token.off:
				mad = 0;
				break;
			case Token.integer:
				int diameterPixels = statement[1].intValue;
				if (diameterPixels < 0 || diameterPixels >= 20)
					numberOutOfRange(0, 19);
				mad = (short) diameterPixels;
				break;
			case Token.decimal:
				float angstroms = floatParameter(1);
				if (angstroms > 3)
					numberOutOfRange(0f, 3f);
				mad = (short) (angstroms * 1000 * 2);
				break;
			case Token.identifier:
				String cmd = (String) statement[1].value;
				if (cmd.equalsIgnoreCase("scale")) {
					checkLength3();
					float scale = floatParameter(2);
					if (scale < -10 || scale > 10)
						numberOutOfRange(-10f, 10f);
					viewer.loadShape(JmolConstants.SHAPE_VECTORS);
					viewer.setShapeProperty(JmolConstants.SHAPE_VECTORS, "scale", new Float(scale));
					return;
				}
				unrecognizedSubcommand(cmd);
			default:
				booleanOrNumberExpected();
			}
			checkLength2();
		}
		viewer.setShapeSize(JmolConstants.SHAPE_VECTORS, mad);
	}