void setupFunctionXY() {
		jvxlFileHeader = new StringBuffer();
		jvxlFileHeader.append("functionXY\n" + functionXYinfo + "\n");
		functionName = (String) functionXYinfo.get(0);
		volumetricOrigin.set((Point3f) functionXYinfo.get(1));
		if (!isAngstroms)
			volumetricOrigin.scale(ANGSTROMS_PER_BOHR);
		for (int i = 0; i < 3; i++) {
			Point4f info = (Point4f) functionXYinfo.get(i + 2);
			voxelCounts[i] = (int) info.x;
			volumetricVectors[i].set(info.y, info.z, info.w);
			if (!isAngstroms)
				volumetricVectors[i].scale(ANGSTROMS_PER_BOHR);
			volumetricVectorLengths[i] = volumetricVectors[i].length();
			unitVolumetricVectors[i].normalize(volumetricVectors[i]);
		}
		jvxlFileHeader.append(jvxlGetVolumeHeader(2));
		atomCount = 0;
		negativeAtomCount = false;
	}