Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
How can I make plots more smooth?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/317253/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/317256/image.jpeg)
yyaxis left
plot(Time, X(:, strcmp(Mnem, 'A191RL1Q225SBEA')))
ax.YColor = 'k';
ylabel('Real GDP growth (annualized)');
datetick('x', 'yyyy')
yyaxis right
plot(Time, X(:, strcmp(Mnem, 'NFCI')), '--')
ax.YColor = 'k';
ylabel('NFCI (index)');
legend('GDP', 'NFCI', 'Location', 'NorthEast')
Hi, the 2 plots in above are from the same dataset, could anyone please explain how can I alter my code so that the second plot looks as smooth as the first one?
0 comentarios
Respuestas (1)
La pregunta está cerrada.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!