MathGroup Archive 2011

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

Search the Archive

Re: The new (v.8.0) distribution plots using a numerical or date

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115786] Re: The new (v.8.0) distribution plots using a numerical or date
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Fri, 21 Jan 2011 04:28:14 -0500 (EST)
  • References: <ih6edu$3g3$1@smc.vnet.net>

In your example, adding

ChartLabels -> (DateString[{2010, #, 1}, {"Month", "/", "Day"}] & /@
   Range[10])

to the options would label with some date labels. DateString can
produce quite a lot of different styles.

Does this soilve your problem or is it plotting multiple data list in
one plot that is your main problem?


Cheers -- Sjoerd

On Jan 19, 11:29 am, Mac <mwjdavid... at googlemail.com> wrote:
> Statistical visualisation of data has improved dramatically in v 8.0
> and provide a very useful way of summarising statistical uncertainty
> in measurements or simulations. I've been particularly impressed with
> the types of graphs that can be produced using the BoxWhiskerChart[]
> or DistributionChart[] functions.
>
> Unfortunately I've been frustrated with the lack of support of these
> functions for typical plots of time series or variables which have
> either a numerical or date X-axis. Imagine for instance that you would
> like to plot the distribution of temperatures within a 24 period and
> plot these either in terms of date and/or day of the year, and going
> further compare these to another time series of measurements. It is
> not possible to specify an X-coordinate for each BoxWisker or
> DistributionChart.
>
> In short, what I would like to achieve is something like this
>
> data = Table[RandomReal[ExponentialDistribution[1], 10], {10}];
> DistributionChart[data, ChartStyle -> 47,
>  ChartElementFunction -> "PointDensity"]
>
> with an X-axis which is either a number (e.g. day of the year) or even
> better a date. I would anticipate that this can be achieved either
> playing around with the ChartLabel[] function or (more generally)
> using the PlotMarker[] functionality as this would allow the
> superposition of several time series, but I've made little progress
> here.
>
> Your help would be much appreciated.
>
> Mac



  • Prev by Date: Mathematica v8: import a space-delimited table of numbers?
  • Next by Date: Re: New Mathematica file format .cdf; what is it?
  • Previous by thread: Re: Mathematica v8: import a space-delimited table of numbers?
  • Next by thread: Compilation options question