Plotting complex zero causes plot one zero
9 ビュー (過去 30 日間)
古いコメントを表示
Hello
I have a set of complex data and I plot them in bulk. I use plot ( z , ' r * ' ) . All is fine and correct until there is only one number zero.
Function plot ( 0 , ' r * ' ) plots one point at (1,0). This is not exacty what I expected and this is critical. I dont see reson why. Separating the part real and imag does not work for me.
Can anybody please help me to clearify this. Maybe there is some rubish or default one which I can chage of clean. Thank you.
0 件のコメント
採用された回答
madhan ravi
2019 年 1 月 5 日
plot(real(z),imag(z)) % if only one argument is used matlab plots the variables against index in x axis read plot documentation
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graphics Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!