Several Y axis in the same plot

12 次查看(过去 30 天)
Tania
Tania 2023-11-30
评论: Tania 2023-12-4
Hi everyone!
I am trying to make a plot including one rigth Y axis and two left Y axis. I was taking a look to the function 'addaxis', I have an issue when using this function, related to the 'aa_splot'. When addaxis calls 'aa_splot' MATLAB send me this error:
Error in aa_splot (line 18) set(gca,'ColorOrder',cord(mod([0:6]+1,7)+1,:));.
I also had a previos error related with 'aa_splot', and had to changue the line 13 like this: cord = get(gca,'ColorOrder'); (I think this was fault of my MATLAB version: R2022b).
Thanks in advance!

回答(1 个)

Taylor
Taylor 2023-11-30
From the Discussions on File Exchange, it looks like you might jus thave to replace all the occurences of "colorord" with "ColorOrder".
  1 个评论
Tania
Tania 2023-12-4
Sure, I actually read this discussion and made this change, but still not working. Thanks anyway!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Point Cloud Processing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by