axis labels in cellfun(@plot(x,y)

1 回表示 (過去 30 日間)
Nancy Hammond
Nancy Hammond 2019 年 6 月 9 日
コメント済み: Star Strider 2019 年 6 月 9 日
How do I get the xlabel to print for muli series in statement 1?
The label works with only one variable in statement 2 using qDate1 and g(:,3):
where size(qDate1) = 1 1 and size(g(:,3)) = 1 1
But finds an error in correspondence of columns when I try 3 series: size(g(:,3:5)) 1 3
I tried xDate3, size(qDate3) 1 3 but that didn't work
  1. g3 = cellfun(@plot,qDate1,g(:,3),'UniformOutput',false);
2 g3 = cellfun(@plot,qDate3, g(:,3:5),'UniformOutput',false);
  1 件のコメント
Star Strider
Star Strider 2019 年 6 月 9 日
If we ask nicely, could we see ‘qDate’ and ‘g’?
A ‘.mat’ file containing them would be appropriate, since it would retain their class identities.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeAxis Labels についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by