Message Boards Message Boards


Set properties to Plot (lines and mesh styles)?

Posted 8 days ago
8 Replies
5 Total Likes

I have a simple Inquiry about this attached file of the plot.

I need to make every line in the plot in the different form like (Dotted, Dashed, Dot-Dashed, CirculeDot, Line) for the five lines in the plot.

Also for the mesh style, can I change their style for every line like(point, circle, triangle, square, sixfold or fivefold) because all the lines are meshed by point.

8 Replies

No file was attached!

Just add Dotted, Dashed, DotDashed to the respective PlotStyle entries.

I don't know about CircleDot: no such style that I can see. For that, you probably want to use PlotMarkers.

I tried

MeshStyle -> {Directive[PointSize[Medium], Black], 
  Directive[PointSize[Medium], Red], 
  Directive[PointSize[Medium], Green], 
  Directive[PointSize[Medium], Blue]}

but that just uses the last item in the list for every curve. (The Wolfram Documentation seems to suggest otherwise!)

Remove Mesh and MeshStyle, add

PlotMarkers -> {Style["\[EmptySquare]", 20], 
  Style["\[EmptyUpTriangle]", 20], Style["\[EmptyCircle]", 20], 
  Style["\[SixPointedStar]", 20], Style["\[EmptyDiamond]", 20]}

I'm sorry, I have attached the file now.

Dear Professor Murray, thanks for your interrogation.

I asked about the mesh point (Black point on every line), can I change its form for every line to distinguish between them?

Dear Professor, I mean the format of mesh not their colours like ( Point, Square, Triangle, Circle, Hexagonal) to distinguish between them.

Thank you very much, it's done.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract