Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15335
| From | Gregory Lypny <gregory.lypny@videotron.ca> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Rotate Dateticks in DateListPlot |
| Date | 2013-08-22 04:36 +0000 |
| Message-ID | <kv44fh$4i0$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Hi everyone,
Bob Hanlon posted a neat way of rotating the frame ticks (date markers) on a date list plot.
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]]
It works like a charm as long as their are no other string annotations in the plot; otherwise, those other annotations will be rotated too. Is there a way to rotate only the frame ticks?
Regards,
Gregory
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Rotate Dateticks in DateListPlot Gregory Lypny <gregory.lypny@videotron.ca> - 2013-08-22 04:36 +0000
csiph-web