Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Help with "recession bar" graph

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129782] Re: Help with "recession bar" graph
  • From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
  • Date: Wed, 13 Feb 2013 04:49:51 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

Hi, Alan,

You may also move Epilog/Prolog to the Show statement itself, if this seem more logical. Like this:

Show[{
image1,image2, image3,...
},
Epilog->YourEpilog
]

Though this makes the same, it improves the readability of the code.

Have fun, Alexei


The suggestion to move the Epilog/Prolog to the first plot is helpful.  Still, after all this discussion, I am inclined to say that comparison with the simplicity of mpl's axvline suggests that there is a missing feature in Mathematica: perhaps, a keyword for Rectangle coordinates to get the full graph extent. In economics and finance graphs, this is a very common need.

Thanks!


Alexei BOULBITCH, Dr., habil.
IEE S.A.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG

Office phone :  +352-2454-2566
Office fax:       +352-2454-3566
mobile phone:  +49 151 52 40 66 44

e-mail: alexei.boulbitch at iee.lu<mailto:alexei.boulbitch at iee.lu>


  • Prev by Date: Re: problems with plots aligning
  • Next by Date: Re: Differencing two equations
  • Previous by thread: Re: Help with "recession bar" graph
  • Next by thread: Using Defer on Dynamic Expressions?