Call it as colorrezafill(line,marker) to define line and marker together Call it as colorrezafill(line) to define line only, where markersize will be the default value of 5 Call it as colorrezafill(1,marker) to define markersize, where 1 is the default linewidth @Rezaul.