Implement linear transformation for coordinate adjustment:
setup_data : The function takes in a dataset along with optional parameters for relative height and width, and scaling functions (x_scale and y_scale) for fine-tuning.
Scale Adjustment: Adjusts the minor axes to fit within an interval of [-1,1].
Linear Transformation: Applies a scaled positional adjustment. This is calculated based on the values from the major axes, adjusted by the scaled values of the minor axes, and influenced by the specified dimensions of width and height.
Implement linear transformation for coordinate adjustment: