Message Boards Message Boards

0
|
4076 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Showing two overlapped lines in a plot?

Posted 2 years ago

I'm plotting two expressions and their lines happen to be the same. However, I want to show that they are two different lines. On the diagram, only the second line is visible because it 'falls' on the first one. How can I show that there are two different lines that just happen to be equal?

POSTED BY: Tania Gerou
3 Replies

One more option:

PlotStyle -> {{Thickness[0.01], Blue}, {Thickness[0.02], Opacity[0.2],
     Green}, {Thickness[0.001], Opacity[0.9], Red}}]

Regards,.... Jos

POSTED BY: Jos Klaps
Posted 2 years ago

Make one of the lines thicker and plot that one first. Use the PlotStyle options with Thickness something like

PlotStyle -> {Thickness[0.01], Thickness[0.05], Thickness[0.05]}

You might have to play with the thickness values to get exactly what you want.

POSTED BY: Jim Baldwin
Posted 2 years ago

Thank you! That helped!

POSTED BY: Tania Gerou
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract