Addaxisplot will not plot after axis 1
Ältere Kommentare anzeigen
Hello Everyone,
I am trying to use addaxisplot to plot to my generated multiple y axis using addaxis. The code seems to be ignoring the addaxisplot for any axes besides the first (main) axis.The fist addaxis is effective in plotting to the first axis but the other are not. I am using 2019a, does anyone know how to correct this issue? thanks
figure
plot(Time(1:4),Zd(1:4),'kx','markersize',15,'linewidth',3,'DisplayName','Met Data');
addaxisplot(Time(1:4),Zd_COARE(1:4),1,'kd','markersize',15,'linewidth',3);
addaxis(Time(1:4),spHumGrad(1:4),'rx','markersize',15,'linewidth',3)
addaxisplot(Time(1:4),spHumGrad_COARE(1:4),2,'d','markersize',15,'linewidth',3);
addaxis(Time(1:4),mlSlope(1:4),'bx','markersize',15,'linewidth',3)
addaxisplot(Time(1:4),mlSlope_COARE(1:4),3,'d','markersize',15,'linewidth',3);
addaxis(Time(1:4),SST(1:4),'mx','markersize',15,'linewidth',3);
addaxisplot(Time(1:4),SST_COARE(1:4),4,'d','markersize',15,'linewidth',3);
addaxislabel(1,'Duct Height (m)');
addaxislabel(2,'Specific Humidity @10m')
addaxislabel(3,'Mixed Layer Slope')
addaxislabel(4,'SST (\circC)');
1 Kommentar
Adam Danz
am 26 Sep. 2019
addaxisplot and addaxis are not built-in matlab functions.
You could provide the link to where you found those functions or supply them here if they are opensource.
Antworten (0)
Kategorien
Mehr zu Annotations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!