scatter99Since R2021b. A convenient way to plot data from a table is to pass the table to the scatter function and specify the variables you want to plot. For example, read patients.xls as a tablescatter(x, y)# A scatter plot of y vs. x with varying marker size andor color. See scatter.