Why is the plot created using the SCATTERPLOT function not displayed in my SUBPLOT in Communications Toolbox 3.2 (R14SP3)?
Afficher commentaires plus anciens
I am creating a SCATTERPLOT as follows:
M = 16; Fd = 1; Fs = 10; N = Fs/Fd;
Pd = 200;
msg_d = randint(Pd,1,M);
msg_a = qammod(msg_d,M);
msg_a = rectpulse(msg_a,N);
rcv = rcosflt(msg_a,Fd,Fs);
rcv_a = rcv(3*N+1:end-4*N,:);
%plot my figure
subplot(1,2,1)
plot(1:10,1:10);
subplot(1,2,2)
h=scatterplot(rcv_a,N,0,'bx');
hold on;
scatterplot(rcv_a,N,N+1,'r+',h); % Plot +'s
scatterplot(rcv_a,N,N-1,'mx',h); % Plot x's
scatterplot(rcv_a,N,0,'b.',h); % Plot dots
hold off
The result of the SCATTERPLOT function is displayed in a new figure and not in the SUBPLOT.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Scatter Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!