Addaxisplot will not plot after axis 1
显示 更早的评论
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 个评论
Adam Danz
2019-9-26
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.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!