You often see plots styled like this (ignore the bar chart component):

i.e. with a small drop shadow under the line. (I'm assuming Excel is being used to produce these plots).
How could you make something similar in Mathematica?
|
You often see plots styled like this (ignore the bar chart component):
i.e. with a small drop shadow under the line. (I'm assuming Excel is being used to produce these plots). How could you make something similar in Mathematica? |
|||||||||||||
|
|
This solution creates copies of the original curve that use coordinates shifted by
This could be extended to work with points and polygons as well. |
|||||
|
|
I'm sure there is a way of automating what I'm posting, but this can give you a general idea.
Edit by halirutan: My answer would have based on the same idea, so instead of writing one myself, let me point out, what makes this approach IMO so nice looking. It is the effect, of having not a hard shadow, but a shadow where the edges are smoothed out. In reality there are rarely situations, where you have really hard edged black shadows and therefore a decent, slightly blurred shadow looks in graphs very nice too. There are some free parameters, for instance the shadow position, its darkness, the grade of the blurring. If I would have to write a function, which does the same what is shown above, I would maybe use a
|
|||||||||||
|
|
Here are some financial data:
Hard-edge shadow To make shadow put a slightly shifted down gray transparent copy of the curve under the original one. To make affect more subtle tune up
Soft-edge shadow Similar approach using
|
|||||||||
|
|
Here's a way to do things using
Which produces:
Here is an example that uses the ideas in this gradient plot question. However, they're not perfect, and I'm a little tired to dig in and make it great:
|
|||||
|
|
|
Based on Mike's feedback, here's a general
Try it out a bit:
|
|||||
|