フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

The line appears on the legend but on the plot...

1 回表示 (過去 30 日間)
Tiago Dias
Tiago Dias 2018 年 2 月 20 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello, I wanna plot with a line and with ".". the line appears blue in the box of the legend but in the plot only the points.
for j = 1:n_var % Fazer as variáveis todas
original = figure('name',titulo1{j});
set(original,'PaperUnits','centimeters','PaperPosition',[0 0 29 21],'PaperOrientation','landscape');
plot(t_ref(:,1),var_u1200lab(:,j),'-b.','MarkerSize',9);
set(gca,'FontSize',10);
grid on
title(['U-1200: ' var{j}],'FontSize',12,'Color','black','FontWeight','bold');
xlabel('tempo');
ylabel(titulo(j));
legend(var_original(j),'Location','best','orientation','vertical','linewidth',0.5);
ax = gca; % Eixos
ax.XAxis.LineWidth = 1.5;
ax.YAxis.LineWidth = 1.5;
ax.GridLineStyle = '-';
end

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by