({{, (RefLink[PlotStyle, paclet:ref/PlotStyle])
is an option for plotting and related functions that specifies styles in which objects are to be drawn. }})

OpenersNotesSection(Spacer1)Details

(RefLink[PlotStyle, paclet:ref/PlotStyle])->g specifies that a graphics directive g should be used to draw all the main objects in a plot.

(RefLink[PlotStyle, paclet:ref/PlotStyle])->{(Subscript[g, 1]),(Subscript[g, 2]),…} specifies that successive directives (Subscript[g, i]) should be used cyclically for successive objects.

The directives that can be given include:

For individual (Subscript[g, i]), a list of directives is equivalent to (RefLink[Directive, paclet:ref/Directive])[…]. For a single g, a list of directives must be given as {list}.

(RefLink[PlotStyle, paclet:ref/PlotStyle]) can apply to points, lines and surfaces.

(RefLink[PlotStyle, paclet:ref/PlotStyle])->(RefLink[None, paclet:ref/None]) specifies that the main objects in a plot should not be drawn explicitly, though mesh and filling are not affected.

If an explicit setting is given for (RefLink[ColorFunction, paclet:ref/ColorFunction]), (RefLink[MeshShading, paclet:ref/MeshShading]) or (RefLink[ContourShading, paclet:ref/ContourShading]), it is used in preference to the setting for (RefLink[PlotStyle, paclet:ref/PlotStyle]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (5)

OpenersExampleSection0(Spacer1)Basic Examples  (5)

(RefLink[Plot, paclet:ref/Plot]) and related functions will automatically style multiple curves:

Plot[Evaluate@Table[BesselJ[n,x],{n,3}],{x,0,15}]

Explicitly style different curves:

Plot[Evaluate@Table[BesselJ[n,x],{n,3}],{x,0,15},PlotStyle->{Orange,Dashed,Thick}]

Add specularity to a surface:

Plot3D[Sin[x^2+y],{x,-2,2},{y,-2,2},PlotStyle->Directive[Orange,Specularity[White,40]],Mesh->None,PlotPoints->25]

Use transparency to show hidden features:

ParametricPlot3D[{1.16^v Cos[v](1+Cos[u]),-1.16^v Sin[v](1+Cos[u]),-2 1.16^v(1+Sin[u])},{u,0,2Pi},{v,-15,6},Mesh->None,PlotStyle->Opacity[0.6],PlotRange->All,PlotPoints->25]

Use transparency to show overlapping regions:

ParametricPlot[{r t Cos[t],r t Sin[t]},{t,0,6Pi},{r,0,1},Mesh->None,PlotPoints->{100,2},PlotRange->All,PlotStyle->Directive[Opacity[0.5],Blue]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[PlotMarkers, paclet:ref/PlotMarkers])  ▪  (RefLink[FillingStyle, paclet:ref/FillingStyle])  ▪  (RefLink[MeshStyle, paclet:ref/MeshStyle])  ▪  (RefLink[BoundaryStyle, paclet:ref/BoundaryStyle])  ▪  (RefLink[ColorFunction, paclet:ref/ColorFunction])  ▪  (RefLink[Joined, paclet:ref/Joined])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Options for Graphics, paclet:tutorial/Options])}, {▪(RefLinkPlain[Graphics Directives and Options, paclet:tutorial/GraphicsDirectivesAndOptions])}, {▪(RefLinkPlain[Graphics and Sound, paclet:tutorial/GraphicsAndSoundOverview])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Plotting Options, paclet:guide/PlottingOptions])}, {▪(RefLinkPlain[Data Visualization, paclet:guide/DataVisualization])}, {▪(RefLinkPlain[Function Visualization, paclet:guide/FunctionVisualization])}, {▪(RefLinkPlain[Colors, paclet:guide/Colors])}, {▪(RefLinkPlain[Graphics Options & Styling, paclet:guide/GraphicsOptionsAndStyling])}})}})

({{(Spacer1), ({{(Spacer1)Related Links}, {(WebLink[DocumentationFooterIconsRelatedLinks-EIWL.png(Spacer1)An Elementary Introduction to the Wolfram Language, https://www.wolfram.com/language/elementary-introduction/24-more-forms-of-visualization.html])(WebLink[: More Forms of Visualization, https://www.wolfram.com/language/elementary-introduction/24-more-forms-of-visualization.html])}})}})