Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5112
| From | Just A Stranger <forpeopleidontknow@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Numbers get all squished |
| Date | 2011-09-21 09:35 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j5cb45$cu8$1@smc.vnet.net> (permalink) |
| 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@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.
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Numbers get all squished Just A Stranger <forpeopleidontknow@gmail.com> - 2011-09-21 09:35 +0000
csiph-web