1
votes

I have a scatter plot in Matlab scatter(xData,yData) I want each marker size to be proportional to a given array of data (zData), where zData is the same length as xData and yData.

Suggestions? Thanks!

1

1 Answers

2
votes

Simply use

scatter(xData,yData,zData)