Hi,
I'd like to produce a scatter plot with two y axis, one on left and one on right side. I tried to follow an example from MathWorks website (topic: yyaxis) , but I get the following error: Undefined function or variable 'yyaxis'.
Is this a bug in the R2015b version?
Specifically, I followed this example:
load('accidents.mat','hwydata')ind = 1:51;drivers = hwydata(:,5);yyaxis leftscatter(ind,drivers)title('Highway Data')xlabel('States')ylabel('Licensed Drivers (thousands)')
Best Answer