please i need urgent solution to this. am trying to differentiate two plots on same graph

1 回表示 (過去 30 日間)
>> plot(plist,ref(fcount,'x--':),plist,ref(fcount+1,'o:'))
??? plot(plist,ref(fcount,'x--':),plist,ref(fcount+1,'o:'))
|
Error: Unbalanced or unexpected parenthesis or bracket.

採用された回答

Steven Lord
Steven Lord 2016 年 10 月 31 日
This:
plot(plist,ref(fcount,'x--':),plist,ref(fcount+1,'o:'))
is not the correct way to call plot. I think you want is something like:
plot(plist,ref(fcount,:),'x--',plist,ref(fcount+1,:),'o:')
If that's not it, explain with words (not code) what you're trying to plot and someone may be able to offer some guidance.

その他の回答 (1 件)

John D'Errico
John D'Errico 2016 年 10 月 31 日
You need to use
hold on
between the two plots.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by