MathGroup Archive 2011

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

Search the Archive

Re: Numbers get all squished

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121583] Re: Numbers get all squished
  • From: Just A Stranger <forpeopleidontknow at gmail.com>
  • Date: Wed, 21 Sep 2011 05:32:46 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201109201008.GAA00693@smc.vnet.net>

I fixed it by increasing the ImageSize

On Tue, Sep 20, 2011 at 3:08 AM, Just A Stranger <
forpeopleidontknow at gmail.com> wrote:

> Hello,
>
> I'm trying to plot a time series, with the units being years, using
> LineListPlot. The data are {year, value} pairs
>
> {{2001, 0.2},{2002, 0.1}...etc}
>
> For some reason when I try and export a GraphicsGrid, it squishes all the
> years onto the ticks. So the ticks look like one long string of numers.
> (200120020020042005).
>
> I tried to use DateListPlot, but apparently it needs whole dates and not
> years. It uses a wierd date format that would require writing a function
> that converts the format of my data to something like
>
> dataDateFormat = {{{2001,1,1}, 0.2},{{2002,1,1}, 0.1}...etc} (with a 10
> years sample)
>
> which would be fine I suppose, but there's got to be some option or a
> better
> way? I'm puzzled why LineListPlot squishes the values into one long string
> when GraphicsGrid is used. Shouldn't it just skip values (which would
> actually be dandy)?
>
> The graphics grid consisted of 6 plots, it looks  like:
>
> a1=ListLinePlot[data1];
> b1=ListLinePlot[data2];
> c1=ListLinePlot[data3];
> a2=ListLinePlot[data4];
> b2=ListLinePlot[data5];
> c2=ListLinePlot[data6];
>
> Transpose[{{a1,b1,c1},{a2,b2,c2}}] //GraphicsGrid
>
> Which results in the time-axis ticks looking like (200120022003200420005)
>
> Any idea a good way to fix this without converting to the DateListPlot date
> format?
>
> Thank you for any help.
>



  • Prev by Date: Getting list of cities of Puerto Rico using Wolfram Alpha
  • Next by Date: Re: List Manipulation- Advanced beginner question
  • Previous by thread: Numbers get all squished
  • Next by thread: Graph vs. GraphPlot