What do these different colors of stem plot indicates?
1 次查看(过去 30 天)
显示 更早的评论
This is the stem plot for a complex value matrix of size 512x40. What does these different coluors indicates ?
How to unayse this stem diagrams?
What does the spacing of stem lines indicates ?
1 个评论
Muhammad Usman
2019-11-14
I hope you can get answers from the given below code.
clear all;close all; clc
fig = figure;
x = linspace(1,3);
y = sin(x);
vectors = [complex(x, y)];
stem(real(vectors),imag(vectors),'Color',[1 0 0])
hold on;
回答(1 个)
Walter Roberson
2019-11-14
complex value matrix of size 512x40
stem() applied to real() and imag() of that is going to create 40 different stem plots. The colors of those plots are chosen automatically if you do not use the Color parameter.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!