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

MathGroup Archive 2013

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

Search the Archive

Re: Rotate Dateticks in DateListPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131310] Re: Rotate Dateticks in DateListPlot
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Wed, 26 Jun 2013 01:04:51 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <20130626011529.16DE76A4A@smc.vnet.net>

data = {{{2006, 10, 1}, 10}, {{2006, 10, 15}, 12}, {{2006, 10, 30},
    15}, {{2006, 11, 20}, 20}};


Show[DateListPlot[data] /.
  str_String :> Rotate[str, 90 Degree]]



Bob Hanlon


On Tue, Jun 25, 2013 at 9:15 PM, Gregory Lypny
<gregory.lypny at videotron.ca>wrote:

> Hi Everyone,
>
> How can I rotate the dateticks on the x-axis in a DateListPlot?  I tried
>
>         Rotate[{list of dates}, 90 Degree]
>
> within DateTicks-> {...} but got an error.
>
> Gregory
>
>




  • Prev by Date: MultinormalDistributions an a RobustMultinomialDistribution
  • Next by Date: Making (a*\[Theta]11)/(1+a^2) into (a/(1+a^2))*\[Theta]11
  • Previous by thread: Re: Rotate Dateticks in DateListPlot
  • Next by thread: Changing the variable order in commutative operators