I need to produce scatter plot with categorical x axis.
I used this script:
figure(1)x=['pixels'];y=Tmean_split.pixels;scatter(x,y)
in which the size of Tmean_split.pixels is 6*1.
I recieve this error:
Must supply X and Y data as first arguments.
Any idea why this error happening?
Best Answer