add options for x and y scale types (linear, log, sqrt etc.)