Dashed lines showing up Solid
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm trying to plot a set of data with fit lines that are solid for filled in data points and dashed for hollow data points, but when I run it all of the lines show up solid unless I switch it to solid lines for hollow data points, and dashed lines for filled in data points. I also tried including 'linestyle' to no avail as well as switching the colors.
subplot(1,2,2)
hold on
scatter(TDCases1(:,1),TDCases1(:,2),'k','o')%
scatter(DSCases1(:,1),DSCases1(:,2),'m','o','filled')
plot(TDCases1(:,1), f_TD,'--k')
[sortedDS, sortIds] = sort(DSCases1(:,1));
plot(sortedDS, f_DS(sortIds),'-m')
%ylim([0 aboveMax])
xlabel('Age (months)','Fontsize',14)
% ylabel(ygraphlabel,'Fontsize',14)
ylabel('Size','Fontsize',14)
hold off
title(['\fontsize{18}','S TD V DS fit - ', measureToAnalyze])
set(gca,'FontSize',14);
legend('TD','DS','Location','northwest')
set(gca,'FontSize',14);
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Spline Postprocessing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!