MATLAB: Specify the style and color of a specific contour line contourf Hi I'm using the contourf function contourf(x,y,z,[0:50:700],"ShowText","on") I would like to make a specific coutour line thicker than the rest (i,e. 500) Thanks Best Answer Just use contour once morecontour(x,y,z,[500 500],'linewidth',2,'color','red'); Related SolutionsMATLAB: How to set specific contour line color/style using contourf Use contour againhold oncontour(x,y,z,[150 150],'y','linew',2)hold off MATLAB: Line Style Specifiers used with Color Specifiers plot(x,y, '--', 'Color',[0,0.8,0.9]);or plot(x,y, 'LineStyle', '--', 'Color',[0,0.8,0.9]); Related QuestionMake axis background transparentColor contourHow to specify contour levels when using plot(fit, ‘Style’, ‘Contour’)Plot only certain contours
Best Answer