public void printKML(Quantity q, OutputStream out, String name)
throws FunctionEvaluationException, SAXException, IOException {
GpxTrackWriter qtw = QuantityTrackWriter
.getInstance(out, name, q, this);
qtw.writeGpx(mygpx);
qtw.endDocument();
}
/**
* Generates output of the specified type.
*