How can I avoid the point covered by line when plot?
1 view (last 30 days)
Show older comments
*when I plot 5 lines and serveral square points in the same figure, the points are always covered by the lines whenever the command of points at the beginning (place1) or the end (places2).How can I make the points not covered by lines?
The code is:*
shadedErrorBar_legend3_h=shadedErrorBar(DateNumber_Ctp0,sm_Ctp0,std_Ctp0,{'-k','linewidth',1.5},0.2);
% Aq0_legend_h=plot(DateNumber_Ctp0(index_Aq0inCtp),sm_Aq(index_Aq0),'ks','MarkerSize',5,'MarkerFaceColor','r'); *%place 1*
gldas_h1_0000=plot(DateNumber_Ctp0,gldas_data1_0000,'-m','linewidth',1.2);
gldas_h2_0000=plot(DateNumber_Ctp0,gldas_data2_0000,'color','g','linewidth',1.2);
gldas_h3_0000=plot(DateNumber_Ctp0,gldas_data3_0000,'color',[.9 .9 .1],'linewidth',1.2);
gldas_h4_0000=plot(DateNumber_Ctp0,gldas_data4_0000,'color','b','linewidth',1.2);
Aq0_legend_h=plot(DateNumber_Ctp0(index_Aq0inCtp),sm_Aq(index_Aq0),'ks','MarkerSize',7,'MarkerFaceColor','r'); *%place 2*
0 Comments
Answers (0)
See Also
Categories
Find more on Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!