"yyaxis left" not working on 2015b?
Afficher commentaires plus anciens
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 left
scatter(ind,drivers)
title('Highway Data')
xlabel('States')
ylabel('Licensed Drivers (thousands)')
3 commentaires
Mike Shukair
le 9 Août 2016
I am facing the same issue as well
Ganesh P. Prajapat
le 14 Avr 2017
I have the same problem with MATLAB 7.10.0 (2010a)
Steven Lord
le 14 Avr 2017
The answer is the same now as it was a year ago and as it was six months ago. You cannot use a function introduced in one release of MATLAB (in this case release R2016a) in an earlier release of MATLAB (like release R2010a.) Release R2010a came out roughly six years prior to the introduction of yyaxis in R2016a.
Réponse acceptée
Plus de réponses (1)
lakshman kumar
le 20 Oct 2016
0 votes
please let me know this , to use yyaxis command ,what is the required toolbox i need to add to my matlab2015b?
1 commentaire
Walter Roberson
le 20 Oct 2016
It does not exist at all in R2015b in any toolbox.
Catégories
En savoir plus sur Two y-axis dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!