
I am familiar with the 'scatter' function and this works well for single columns of data but the problem arises because my x and y data are a full matrix of values (rows corresponding to depths in the water and columns corresponding to different stations).

In this case I have temperature, salinity and carbon content of a body of water. I am trying to create a scatter plot against axes x and y with the colours of the points reflecting a third z variable on a colour scale.


I'm wondering if anyone can help with this problem.
